LinkedHashMap<K, V>.of constructor Null safety

LinkedHashMap<K, V>.of(
  1. 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);