with a Kotlin data class, can I do any processing ...
# announcements
p
with a Kotlin data class, can I do any processing on the input arguments?
data class Person(val name: String, val age: Int)
Let's say I want to append something to each name:
Person("foobar", 6)
->
Person{name="foobarsuffix", 6}