add method

  1. @override
void add(
  1. K key,
  2. V value
)
inherited

Adds an association from the given key to the given value.

Implementation

@override
void add(K key, V value) {
  C collection = _map.putIfAbsent(key, _create);
  _add(collection, value);
}