<@UBMTY076Y> you can use something like `data clas...
# getting-started
v
@HaSH you can use something like
data class Test(val test1: Int, val test2: Int, private val test3: Int = test2 * test1)
r
That would still let the construction site pass in an incorrect value.
s
you can make it throw an exception if it's instantiated, I don't remember how, but one of the JB peeps posted about it a few weeks ago.