1. override
void clear()

Removes all pairs from the map.

After this, the map is empty.

Source

@override
void clear() {
  throw new UnsupportedError("Clearing the context will mess things up.");
}