V remove(Object key)

This operation is not supported by an unmodifiable map.

Source

V remove(Object key) {
  throw new UnsupportedError("Cannot modify unmodifiable map");
}