addEntry method
Returns a new map containing the current map plus the given key:value. (if necessary, the given entry will override the current one).
Implementation
@useCopy
IMap<K, V> addEntry(MapEntry<K, V> entry) => add(entry.key, entry.value);
Returns a new map containing the current map plus the given key:value. (if necessary, the given entry will override the current one).
@useCopy
IMap<K, V> addEntry(MapEntry<K, V> entry) => add(entry.key, entry.value);