activeSurvey property

String? activeSurvey

Implementation

String? get activeSurvey => _activeSurvey;
void activeSurvey=(String? surveyName)

Implementation

set activeSurvey(String? surveyName) {
  assert(surveyName != null);
  _activeSurvey = surveyName;

  if (!surveyNameExists(activeSurvey!)) {
    // Create the survey if property is non-existent in ~/.devtools
    _addSurvey(activeSurvey!);
  }
}