incrementSurveyShownCount method

void incrementSurveyShownCount()

Implementation

void incrementSurveyShownCount() {
  assert(activeSurvey != null);
  surveyShownCount; // Ensure surveyShownCount has been initialized.
  final prop = _activeSurveyFromProperties;
  rewriteActiveSurvey(
    prop.surveyActionTaken,
    prop.surveyShownCount! + 1,
  );
}