map<K2, V2> method

Map<K2, V2> map <K2, V2>(
  1. MapEntry<K2, V2> transform(
    1. K key,
    2. V value
    )
)
override

Returns a new map where all entries of this map are transformed by the given convert function.

Implementation

Map<K2, V2> map<K2, V2>(MapEntry<K2, V2> transform(K key, V value)) =>
    _map.map<K2, V2>(transform);

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dart.dev/stable/2.13.0/dart-collection/MapView/map.html