ModuleState
Marker interface for module state classes.
States represent the data of your application at a given point in time. They must be immutable and should be data classes marked with @Serializable.
Example:
@Serializable
data class CounterState(
val count: Int = 0,
val isLoading: Boolean = false,
val error: String? = null
) : ModuleStateContent copied to clipboard