It’s possible that the “secondary non arg constructor” can be done with Kotlin data class’s copy feature, which gives you new instances with changed values.
I’m sorry! I don’t understand. Could you exemplify that? Thank you!
It’s possible that the “secondary non arg constructor” can be done with Kotlin data class’s copy feature, which gives you new instances with changed values.
I’m sorry! I don’t understand. Could you exemplify that? Thank you!