mapValues<VV> method

Map<K, VV> mapValues<VV>(
  1. VV mapper(
    1. K k,
    2. V v
    )
)

Implementation

Map<K, VV> mapValues<VV>(VV mapper(K k, V v)) {
  return this.map((k, v) => MapEntry(k, mapper(k, v)));
}