ListMultimap<K, V> constructor
Creates an empty ListMultimap with the keys held in map
and the values
in a collection built with factory
.
Implementation
ListMultimap({Map<K, List<V>>? map, Factory<List<V>>? factory})
: super(map ?? <K, List<V>>{}, factory ?? defaultFactory);