addNavigationRule method
void
addNavigationRule({
Adds a NavigationRule to the navigationRule
Map
It only adds the NavigationRule if none is already set for the
StepIdentifier
Implementation
void addNavigationRule({
required String forTriggerStepIdentifier,
required NavigationRule navigationRule,
}) {
navigationRules.putIfAbsent(forTriggerStepIdentifier, () => navigationRule);
}