MapValueSet<K, V> constructor

MapValueSet<K, V>(
  1. Map<K, V> _baseMap,
  2. K _keyForValue(
    1. V

Creates a new MapValueSet based on _baseMap.

_keyForValue returns the key in the map that should be associated with the given value. The set's notion of equality is identical to the equality of the return values of _keyForValue.


MapValueSet(this._baseMap, this._keyForValue);