remove method - UnmodifiableMapBase class - dart:collection library (original) (raw)

description

V? remove(

  1. Object? key )

inherited

This operation is not supported by an unmodifiable map.

Implementation

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