SetMultimap<K, V>.fromIterable constructor

SetMultimap<K, V>.fromIterable(
  1. Iterable iterable, {
  2. K key(
    1. dynamic
    )?,
  3. V value(
    1. dynamic
    )?,
})

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(super.iterable, {super.key, super.value})
    : super.fromIterable();