What is the idiomatic way of cloning a mutableMap?...
# announcements
a
What is the idiomatic way of cloning a mutableMap? I have one called translations and I am copying it in the following way which looks wrong to me but it does work
translations.map { it.key to it.value }.toMap()