otherwise method
Implementation
void otherwise(
void Function(TransitionHandlerBuilderWithData<D>) buildOtherwise, {
String? label,
}) {
var otherwiseBuilder = TransitionHandlerBuilderWithData<D>._(_forState);
buildOtherwise(otherwiseBuilder);
_conditions.add(_TransitionConditionWithContext(
(_, __) => true,
otherwiseBuilder._handler!,
label,
));
}