addAll method
Adds all the key/value pairs of other
to this map.
Listeners are notified after all values have been added.
If a key of other
is already in this map, its value is overwritten.
The operation is equivalent to doing this[key] = value
for each key
and associated value in other
. It iterates over other
, which must
therefore not change during iteration.
Implementation
@override
void addAll(Map<K, T> other) {
assert(_debugAssertNotDisposed());
_map!.addAll(other);
notifyListeners();
}