Creates an immutable map (IMap) from the map.
IMap<K, V> toIMap([ConfigMap? config]) => IMap<K, V>.withConfig(this, config ?? IMap.defaultConfig);