Is there no better way to return an immutable coll...
# announcements
k
Is there no better way to return an immutable collection but using this pattern?
Copy code
class Controller {
    private val _items = mutableListOf<String>()
    val items: List<String> get() = _items.toList()
}