LinkedHashMap<K, V>.of constructor

LinkedHashMap<K, V>.of(Map<K, V> other)

Creates a LinkedHashMap that contains all key value pairs of other.

Implementation

factory LinkedHashMap.of(Map<K, V> other) =>
    LinkedHashMap<K, V>()..addAll(other);