I am trying to create a kotlin Multiplatform library which can later convert into java and javascript using IDEA 2019.3, kotlin 1.3
I have an array list with me and I want to convert it to a immutable list
val clean:List<String> = ArrayList<String>()
I could not see an option to convert clean to a immutable list. From here, I can see that kotlin has immutable list implementation but I could not see this in kotlin 1.3 multiplatform project.
Am I missing something obvious ? I could see a similar [old question][2] but according to this, it seems it should be available. Please help