mapValues<R> method
Implementation
ValueStream<Map<K, R>> mapValues<R>(R mapper(K key, V value)) {
return this.map((self) => self.map((k, v) => MapEntry(k, mapper(k, v))));
}
ValueStream<Map<K, R>> mapValues<R>(R mapper(K key, V value)) {
return this.map((self) => self.map((k, v) => MapEntry(k, mapper(k, v))));
}