addEntries method

  1. @override
void addEntries(
  1. Iterable<MapEntry<K, V?>> newEntries
)
override

Adds all key/value pairs of newEntries to this.

If any key/value pairs are new or changed then a MapUpdate is sent to attached streams.

Implementation

@override
void addEntries(Iterable<MapEntry<K, V?>> newEntries) {
  addAll(Map.fromEntries(newEntries));
}