goToNextStep method

void goToNextStep()

Advances to the next step in the report flow.

Only advances if a reason has been selected. Moves from ReportStep.reason to ReportStep.user.

Implementation

void goToNextStep() {
  if (selectedReason != null) {
    step = ReportStep.user;
    notifyListeners();
  }
}