Sounds like you are looking for a immutable list: ...
# getting-started
a
Sounds like you are looking for a immutable list:
Copy code
val list: List<T> = listOf()
https://kotlinlang.org/docs/reference/collections-overview.html