Skip to content

imap<K, V>

IMap<K, V> imap<K, V>(Map<K, V> m)

Creates an IMap from a Dart Map.

dart
final m = imap({'a': 1, 'b': 2});