addEntry method
Returns a copy of this map where the key/value pair entry
is added.
If the key of entry
is already present in the copy, the corresponding
value is overwritten.
Implementation
ImmortalMap<K, V> addEntry(MapEntry<K, V> entry) => addEntries([entry]);