ListMultimapBuilder<K, V> class

The Built Collection builder for BuiltListMultimap.

It implements the mutating part of the ListMultimap interface.

See the Built Collection library documentation for the general properties of Built Collections.


ListMultimapBuilder([dynamic multimap = const {}])
Instantiates with elements from a Map, ListMultimap or BuiltListMultimap. [...]


hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited


add(K key, V value) → void
As ListMultimap.add.
addAll(ListMultimap<K, V> other) → void
As ListMultimap.addAll.
addIterable<T>(Iterable<T> iterable, {K key(T), V value(T), Iterable<V> values(T)}) → void
As Map.fromIterable but adds. [...]
addValues(K key, Iterable<V> values) → void
As ListMultimap.addValues.
build() BuiltListMultimap<K, V>
Converts to a BuiltListMultimap. [...]
clear() → void
As ListMultimap.clear. [...]
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
remove(Object key, V value) bool
As ListMultimap.remove.
removeAll(Object key) BuiltList<V>
As ListMultimap.removeAll, but results are BuiltLists.
replace(dynamic multimap) → void
Replaces all elements with elements from a Map, ListMultimap or BuiltListMultimap. [...]
toString() String
A string representation of this object. [...]
update(dynamic updates(ListMultimapBuilder<K, V>)) → void
Applies a function to this.


operator ==(Object other) bool
The equality operator. [...]
operator [](Object key) ListBuilder<V>
As ListMultimap, but results are ListBuilders.