ImmortalMap<K, V>.fromMap constructor

ImmortalMap<K, V>.fromMap(
  1. Map<K, V> other
)

Creates an ImmortalMap containing all entries of other.

See ImmortalMap.ofMap.

Implementation

factory ImmortalMap.fromMap(Map<K, V> other) => ImmortalMap(other);