addNested<S> method
Adds a nested machine
that gets started when this state is entered, and
stopped when this state is left.
Implementation
void addNested<S>(Machine<S> machine) =>
addTransition(NestedTransition<S>(machine));
Adds a nested machine
that gets started when this state is entered, and
stopped when this state is left.
void addNested<S>(Machine<S> machine) =>
addTransition(NestedTransition<S>(machine));