startTutorial method

void startTutorial(
  1. T tutorialId
)

Starts the tutorial with the given tutorialId.

Implementation

void startTutorial(T tutorialId) {
  if (!_tutorials.containsKey(tutorialId)) {
    throw Exception('Tutorial ID "$tutorialId" not found');
  }
  _state.startTutorial(tutorialId);
}