isLastStepQuestion property
bool
get
isLastStepQuestion
Returns true if the current question is the last in the current step.
Implementation
bool get isLastStepQuestion {
final questions = currentDisplayedStep.displayableQuestions;
assert(questions.isNotEmpty, '🚩 Current step must have at least one displayable question');
return _currentQuestionIndex == questions.length - 1;
}