W3cubDocs

/Dart 2

map<K2, V2> method

Map<K2, V2> map <K2, V2>(MapEntry<K2, V2> f(K key, V value))

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

Implementation

Map<K2, V2> map<K2, V2>(MapEntry<K2, V2> f(K key, V value));

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/2.0.0/dart-core/Map/Map.html