clear method

void clear()

Removes all objects from this map; the length of the map becomes zero.

Implementation

void clear() {
  _items.clear();
}