void addAll(Map<K, V> other)

This operation is not supported by an unmodifiable map.

Source

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