Hi, I would like to create a property on a data class that acts like a method, and returns a concatenation of two other properties on the same data class. The following doesn’t work but gives you an idea of what I’m looking for:
data class MyDataClass(val first: String, val second: String) {
val third = "$first $second"
}
Is that possible?