hashMapFrom<K, V> function

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

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

Implementation

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