ListMultimap<K, V>.fromIterable constructor

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

Constructs a new list-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

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