clear method

void clear()
inherited

Removes all values from this multimap.

Implementation

void clear() {
  for (final key in List.of(keys)) {
    lookupValues(key).polymorphicClear();
  }
  _map.clear();
  _length = 0;
}