operator []= method

void operator []=(
  1. K key,
  2. 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");
}