setIfAbsent method
Returns a copy of this map setting the value of key
if it isn't there.
See putIfAbsent.
Implementation
ImmortalMap<K, V> setIfAbsent(K key, V Function() ifAbsent) =>
putIfAbsent(key, ifAbsent);
Returns a copy of this map setting the value of key
if it isn't there.
See putIfAbsent.
ImmortalMap<K, V> setIfAbsent(K key, V Function() ifAbsent) =>
putIfAbsent(key, ifAbsent);