void clear()

Removes all pairs from the map.

After this, the map is empty.

Source

void clear() => _clear();