Map<TKey, TValue>
should inherit from Iterable<MapEntry<TKey, TValue>>
#52435
Labels
closed-not-planned
Closed as we don't intend to take action on the reported issue
Moved from dart-lang/language#3081
currently to iterate over a
Map
, you need to access theentries
property, but you can't iterate over the map itselfthis makes representing a union of
Map | List
a chore, since they have no common denominator, thus requiring changing the type todynamic
The text was updated successfully, but these errors were encountered: