toIMap method

IMap<K, V> toIMap([
  1. ConfigMap? config
])

Creates an immutable map (IMap) from the map.

Implementation

IMap<K, V> toIMap([ConfigMap? config]) =>
    IMap<K, V>.withConfig(this, config ?? IMap.defaultConfig);