SyntaxFix
Write A Post
Hire A Developer
Questions
There is a simple way available in Kotlin
var lst: List<Object> = ... listOFStrings: ArrayList<String> = (lst!!.map { it.name })