addAll method

Map<K, V> addAll(
  1. Object coll
)

Adds all of the key-value pairs of another Map to this Map. If a key is already present in this Map, its value is replaced with the corresponding value from the given map.

Be careful not to call this method while iterating over the collection. @param {Iterable.<KeyValuePair.<K,V>>|Array.<KeyValuePair.<K,V>>} coll the collection of keys/values to add, or an Array of { key: ..., value: ... } objects. @return {Map.<K,V>} This modified Map.

Implementation

_i3.Map<K, V> addAll(_i2.Object coll) => _i4.callMethod(
      this,
      'addAll',
      [coll],
    );