removeSet method
Remove the given key
, if it exists, and its corresponding set
.
If the key
doesn't exist, don't do anything.
Implementation
IMapOfSets<K, V> removeSet(K key) {
IMap<K, ISet<V>> newMapOfSets = _mapOfSets.remove(key);
return _mapOfSets.same(newMapOfSets) ? this : IMapOfSets<K, V>._unsafe(newMapOfSets, config);
}