map<K2, V2> method Null safety

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

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

Implementation

@override
Map<K2, V2> map<K2, V2>(MapEntry<K2, V2> Function(K, V) transform) =>
    _base.map((_, pair) => transform(pair.key, pair.value));