ScreenState

data class ScreenState(val error: ReversiException? = null, val isLoading: Boolean = false)

Represents the state of a screen including error and loading states.

Constructors

Link copied to clipboard
constructor(error: ReversiException? = null, isLoading: Boolean = false)

Properties

Link copied to clipboard

The current error on the screen, if any.

Link copied to clipboard

Whether the screen is in a loading state.