clear method Null safety

void clear()
override

Removes all entries from the map.

After this, the map is empty.

Implementation

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