triggerInput method
Convenience method for firing a trigger input with a given name.
Also see getTriggerInput to get a reference to the trigger input. If the
trigger happens frequently, it's more efficient to get a reference to the
trigger input and call trigger.fire()
directly.
Implementation
void triggerInput(String name) => getTriggerInput(name)?.fire();