SetMultimap<K, V>.fromIterable constructor

SetMultimap<K, V>.fromIterable(Iterable iterable, { K key(dynamic element), V value(dynamic element) })

Constructs a new set-backed multimap. For each element e of iterable, adds an association from key to value. key and value each default to the identity function.

Implementation

SetMultimap.fromIterable(Iterable iterable,
    {K key(element), V value(element)})
    : super.fromIterable(iterable, key: key, value: value);