Hello, is there any elegant way to define a sealed...
# announcements
c
Hello, is there any elegant way to define a sealed class of data classes with common vals?
a
You can declare the common vals as abstract in the sealed class and then declare them as override in the data class constructor params
4
👍🏻 2