StateModifier

State Modifier used to manipulate the current state inside an Intent

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
suspend fun mutate(mutator: suspend FromState.() -> FromState): FromState

Change the current state with new properties

Link copied to clipboard

Return the state without any changes

Link copied to clipboard
suspend fun <ToState : State> transform(transformer: suspend FromState.() -> ToState): ToState

Change the current state into a new one