In this example of serializing sealed classes clas...
# serialization
k
In this example of serializing sealed classes class has to be cast to the parent type (
Project
) for this to work:
val data: Project = OwnedProject("kotlinx.coroutines", "kotlin")
- is there a way to do it without the cast?