IMap<K, V>.fromIterables constructor
Implementation
factory IMap.fromIterables(Iterable<K> keys, Iterable<V> values, Order<K> kOrder) {
IMap<K, V> result = new IMap.empty(kOrder);
final keyIterator = keys.iterator;
final valueIterator = values.iterator;
while(keyIterator.moveNext() && valueIterator.moveNext()) {
result = result.put(keyIterator.current, valueIterator.current);
}
return result;
}