SurveyQuestion constructor

SurveyQuestion({
  1. required String text,
  2. String? label,
})

Creates a SurveyQuestion. The text is required according to the OMH definition.

Implementation

SurveyQuestion({
  required this.text,
  this.label,
});