operator []= method

void operator []= (K key, V value)

This operation is not supported by an unmodifiable map.

Implementation

void operator []=(K key, V value) {
  throw new UnsupportedError("Cannot modify unmodifiable map");
}