is there a way to have data class like this `data ...
# announcements
j
is there a way to have data class like this
data class MyDataClass(val mySortedList: List<MyItem>)
? As far as I can see there is no way of enforcing that the
mySortedList
is a
val
and is sorted