isLastStep method

bool isLastStep(
  1. T tutorialId
)

Whether current step is the last one

Implementation

bool isLastStep(T tutorialId) {
  final steps = getSteps(tutorialId);
  return steps.isNotEmpty && _currentSteps[tutorialId] == steps.length - 1;
}