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

This operation is not supported by an unmodifiable map.

Source

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