jean
09/05/2020, 9:58 PMsealed class State {
object Initial : State()
object Loading : State()
object Loaded : State()
data class Error(val message: String) : State()
}
Now when I try to compile State::class.sealedSubclasses
I get the error Unresolved reference: sealedSubclasses
Do I need a special dependency for it?tseisel
09/05/2020, 10:38 PMkotlin-reflect
library to use that function