clear method

  1. @override
void clear ()
override

Removes all pairs from the map.

After this, the map is empty.

Implementation

@override
void clear() {
  _entries.clear();
  _head = _tail = null;
}