addAll method

void addAll (Map<K, V> other)

This operation is not supported by an unmodifiable map.

Implementation

void addAll(Map<K, V> other) {
  throw new UnsupportedError("Cannot modify unmodifiable map");
}