clear method Null safety

void clear ()
override

Removes all pairs from the map.

After this, the map is empty.

Implementation

void clear() {
  throw new UnsupportedError("Not supported");
}