mapValues method
Implementation
Map<K, V> mapValues(V Function(V value) transform) {
if (this == null) return {};
final map = <K, V>{};
this!.forEach((key, value) {
map[key] = transform(value);
});
return map;
}
Map<K, V> mapValues(V Function(V value) transform) {
if (this == null) return {};
final map = <K, V>{};
this!.forEach((key, value) {
map[key] = transform(value);
});
return map;
}