activeSurvey property

String? get activeSurvey

Implementation

String? get activeSurvey => _activeSurvey;
set 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!);
  }
}