always<Target extends AutomataState> abstract method

void always<Target extends AutomataState>({
  1. GuardCondition<NullEvent>? condition,
  2. List<Action<NullEvent>>? actions,
})

Attach a Eventless TransitionDefinition to allow to transition from this StateNode to a given StateNode for any AutomataEvent as long as the conditions are met.

Implementation

void always<Target extends AutomataState>({
  GuardCondition<NullEvent>? condition,
  List<Action<NullEvent>>? actions,
});