endTutorial method

void endTutorial(
  1. T tutorialId
)

Ends the tutorial with the given tutorialId.

Implementation

void endTutorial(T tutorialId) {
  _validateTutorialId(tutorialId);
  _currentSteps[tutorialId] = -1;
  notifyListeners();
}