isLastStep property
bool
get
isLastStep
Checks if the current step is the last step in the survey.
Returns:
- A boolean value indicating if the current step is the last step.
Implementation
bool get isLastStep {
return currentStepIndex == steps.length - 1;
}