ListMultimap<K, V>.of constructor
ListMultimap<K, V>.of (})
Creates a ListMultimap with the same keys and values as other
.
Implementation
factory ListMultimap.of(Multimap<K, V, Iterable<V>> other,
{Map<K, List<V>>? map, Factory<List<V>>? factory}) {
final result = ListMultimap<K, V>(map: map, factory: factory);
other.forEach(result.add);
return result;
}