https://kotlinlang.org logo
#announcements
Title
# announcements
m

mikehearn

04/11/2017, 1:47 PM
what you want is a data class, but, minus the copy() method (or perhaps more helpfully with copy made also private)
v

voddan

04/11/2017, 3:48 PM
what if you declare a
private copy() {}
in the class ?