mapValue<A> method

Map<K, A> mapValue<A>(
  1. A update(
    1. V value
    )
)

Convert each value of the Map using the update function and returns a new Map.

Implementation

Map<K, A> mapValue<A>(A Function(V value) update) =>
    map((key, value) => MapEntry(key, update(value)));