NexusSurveyQuestion constructor

const NexusSurveyQuestion({
  1. required String id,
  2. required String type,
  3. required String label,
  4. String? description,
  5. bool required = false,
  6. List<NexusSurveyChoice> choices = const [],
  7. String? display,
  8. int? scaleMin,
  9. int? scaleMax,
  10. String? lowerLabel,
  11. String? upperLabel,
  12. String? buttonText,
  13. String? buttonUrl,
})

Implementation

const NexusSurveyQuestion({
  required this.id,
  required this.type,
  required this.label,
  this.description,
  this.required = false,
  this.choices = const [],
  this.display,
  this.scaleMin,
  this.scaleMax,
  this.lowerLabel,
  this.upperLabel,
  this.buttonText,
  this.buttonUrl,
});