Florian
11/29/2020, 8:04 AMList<User>
and want to get a List<String>
of their name
property, is there a helper method for this?andylamax
11/29/2020, 8:12 AMval users = listOf(user1,user2,user3,user4)
val usernames = users.map {it.name}
Florian
11/29/2020, 8:14 AM