map<K2, V2> method

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

Returns a new map where each entry is transformed by the given function.

This is a non-mutating operation that creates a new map.

Implementation

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