addAll method Null safety
Adds all key/value pairs of other
to this map.
If a key of other
is already in this map, its value is overwritten.
Implementation
void addAll(Map<K, V> other, {bool notifyChanges = true}) {
_value.addAll(other);
if (notifyChanges) {
_viewModel.notifyChanges([
EmpireStateChanged.addedMapToMap(other, propertyName: propertyName)
]);
}
}