setNavigationRuleForTriggerStepIdentifier method
void
setNavigationRuleForTriggerStepIdentifier(
Adds a navigation rule to a step using its identifier.
RPNavigableOrderedTask navigableSurveyTask = RPNavigableOrderedTask(
"NavigableTaskID",
[
instructionStep,
questionStep1,
questionStep2,
],
)
..setNavigationRuleForTriggerStepIdentifier(someNavigationRule, questionStep1.identifier);
Implementation
void setNavigationRuleForTriggerStepIdentifier(
RPStepNavigationRule stepNavigationRule, String triggerStepIdentifier) {
stepNavigationRules[triggerStepIdentifier] = stepNavigationRule;
}