map<K2, V2> method

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

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> transform(K key, V value)) =>
    _base.map((_, pair) => transform(pair.first, pair.last));