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