put method

ImmortalMap<K, V> put(
  1. K key,
  2. V value
)

Returns a copy of this map where the value of key is set to value.

See add.

Implementation

ImmortalMap<K, V> put(K key, V value) => add(key, value);