Hello, I have a state class contains 3 states succ...
# orbit-mvi
e
Hello, I have a state class contains 3 states success , Loading and Error states
Copy code
sealed class WidgetState {
    class Success(val data: List<String>) : WidgetState()
    object Loading : WidgetState()
    class Error(errorMessage: String) : WidgetState()
}
any recommendation to using it like that in the open ticket https://github.com/orbit-mvi/orbit-mvi/issues/197