enter method

void enter([
  1. TState? previous
])

Runs all registered entrance callbacks for this state.

previous is the state that was active before this one, if any.

Implementation

void enter([TState? previous]) =>
    _internalState.enter(this as TState, previous);