currentStepIndex method

int currentStepIndex(
  1. Step step
)

Implementation

int currentStepIndex(Step step) {
  return task.steps.indexOf(step);
}