IHashMap<K, V>.fromPairs constructor
IHashMap<K, V>.fromPairs (
- FoldableOps<
dynamic, Tuple2< foldableOps,K, V> > - Order<
K> kOrder
Implementation
factory IHashMap.fromPairs(FoldableOps<dynamic, Tuple2<K, V>> foldableOps, Order<K> kOrder) =>
foldableOps.foldLeft(new IHashMap.empty(), (acc, kv) => kv.apply(acc.put));