updateAll method

  1. @override
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

@override
void updateAll(V update(K key, V value)) {
  _entries.forEach((key, entry) {
    var newValue = _createEntry(key, update(key, entry.value));
    _entries[key] = newValue;
  });
}