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

description

void clear()

inherited

This operation is not supported by an unmodifiable map.

Implementation

void clear() {
  throw UnsupportedError("Cannot modify unmodifiable map");
}