so there are two ways to achieve ``` sealed class...
# announcements
c
so there are two ways to achieve
Copy code
sealed class MyClass(open val str: String) {
    data class Meh(override val str: String): MyClass(str)
}

sealed class MyClass2 {
    abstract val str: String
    
    data class Meh(override val str: String): MyClass2()
}