Get started

toImmutableMap

Returns an immutable map containing all entries from this map.

If the receiver is already an immutable map, returns it as is.

Entries of the returned map are iterated in the same order as in this map.