Creates an IndexMap from other.
other
factory IndexMap.from(Map<K, V> other) { final map = IndexMap<K, V>(); map.addAll(other); return map; }