updateAll method Null safety

void updateAll (
  1. V update(
    1. K key,
    2. V value
    )
)
inherited

This operation is not supported by an unmodifiable map.

Implementation

void updateAll(V update(K key, V value)) {
  throw UnsupportedError("Cannot modify unmodifiable map");
}