linkedMapFrom<K, V> function

KtLinkedMap<K, V> linkedMapFrom<K, V>([
  1. Map<K, V> map = const {}
])

Returns a new LinkedHashMap with the specified contents, given as a list of pairs where the first component is the key and the second is the value.

If multiple pairs have the same key, the resulting map will contain the value from the last of those pairs.

Entries of the map are iterated in the order they were specified.

Implementation

KtLinkedMap<K, V> linkedMapFrom<K, V>([Map<K, V> map = const {}]) =>
    KtLinkedMap.from(map);