trigger abstract method
Retrieve a trigger input from the state machine with the given name.
Trigger the input by calling TriggerInput.fire.
final trigger = stateMachine.trigger('triggerInput');
if (trigger != null) {
trigger.fire();
}
Optionally provide a path to access a nested input.
Implementation
@Deprecated(_useDataBindingDeprecationMessageSMInput)
TriggerInput? trigger(String name, {String? path});