finishStep method

void finishStep()

Implementation

void finishStep() {
  currentStep!.startClock.stop();
  currentStep!.duration = currentStep!.startClock.elapsed;
  _stepMap.remove(currentStep!.label);
  stepStack.removeLast();
}