W3cubDocs

/Dart 2

updateAll method

void updateAll (V update(K key, V value))
override

Updates all values.

Iterates over all entries in the map and updates them with the result of invoking update.

Implementation

void updateAll(V update(K key, V value)) {
  _map.updateAll(update);
}

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dart.dev/stable/2.5.0/dart-collection/MapView/updateAll.html