NavigableTask constructor

NavigableTask({
  1. TaskIdentifier? id,
  2. List<Step> steps = const [],
  3. Step? initialStep,
  4. Map<StepIdentifier, NavigationRule>? navigationRules,
})

Implementation

NavigableTask({
  TaskIdentifier? id,
  List<Step> steps = const [],
  Step? initialStep,
  Map<StepIdentifier, NavigationRule>? navigationRules,
})  : this.navigationRules = navigationRules ?? {},
      super(
        id: id,
        steps: steps,
        initalStep: initialStep,
      );