remove method

bool remove (Object key, V value)
inherited

Removes the association between the given key and value. Returns true if the association existed, false otherwise.

Implementation

bool remove(Object key, V value) {
  if (!_map.containsKey(key)) return false;
  bool removed = _remove(_map[key], value);
  if (removed && _map[key].isEmpty) _map.remove(key);
  return removed;
}