completeSurvey method

List<SurveyStep> completeSurvey()

Completes the survey and returns the steps.

Returns:

  • A list of SurveyStep objects representing the completed steps.

Implementation

List<SurveyStep> completeSurvey() {
  Navigator.of(context).pop();
  return steps;
}