Hi. Is there a nicer way to represent the `base` ...
# announcements
n
Hi. Is there a nicer way to represent the
base
param in a data class constructor?
Copy code
abstract class Base(val base: String)

data class Simple(val foo: String, val _base: String) : Base(_base)
By nicer I mean avoiding using
_base
param in the
Simple
constructor