mapKeys method

Map<K, V> mapKeys(
  1. K f(
    1. K k
    )
)

Implementation

Map<K, V> mapKeys(K Function(K k) f) => map((k, v) => MapEntry(f(k), v));