toSetMultimap method
Converts this Map to an equivalent SetMultimap.
Implementation
SetMultimap<K, V> toSetMultimap(
{Map<K, Set<V>>? map, Factory<Set<V>>? factory}) =>
SetMultimap<K, V>.fromEntries(entries, map: map, factory: factory);