firstStep method

  1. @override
Step? firstStep()
override

Implementation

@override
Step? firstStep() {
  final previousStep = peekHistory();
  return previousStep == null
      ? task.initalStep ?? task.steps.first
      : nextInList(previousStep);
}