setLoadingFunction method

  1. @override
WidgetHighlightTutorialStep setLoadingFunction({
  1. required TutorialRepository tutorialRepository,
})
override

Sets the loading function for this step using the provided tutorialRepository.

Implementation

@override
WidgetHighlightTutorialStep setLoadingFunction({required TutorialRepository tutorialRepository}) {
  return WidgetHighlightTutorialStep(
      tutorialText: tutorialText,
      tutorialID: tutorialID,
      loadFromRepository: () => tutorialRepository.get(tutorialID));
}