state

infix fun state(body: StateBuilder.() -> Unit)

Create a state.


infix fun state(labelOfDefaultState: StateLabel)

Declare that the default state is another labeled state, whose label is provided afterwards.