initialState method

void initialState(
  1. STATE state
)

Sets the state the machine starts in. Required.

Implementation

void initialState(STATE state) => _initialState = state;