operator []= method

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

This operation is not supported by an unmodifiable map.

Implementation

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