CreateQuestionConfigBody constructor

CreateQuestionConfigBody({
  1. required String name,
  2. required String question,
  3. String? helpText,
  4. required String type,
  5. double? numStars,
  6. double? min,
  7. double? max,
  8. double? defaultValue,
  9. String? labelNegative,
  10. String? labelPositive,
  11. List<QuestionConfigCustomOptionsInner> customOptions = const [],
  12. List<String> subQuestionIds = const [],
  13. bool? alwaysShowSubQuestions,
  14. required double reportingOrder,
})

Returns a new CreateQuestionConfigBody instance.

Implementation

CreateQuestionConfigBody({
  required this.name,
  required this.question,
  this.helpText,
  required this.type,
  this.numStars,
  this.min,
  this.max,
  this.defaultValue,
  this.labelNegative,
  this.labelPositive,
  this.customOptions = const [],
  this.subQuestionIds = const [],
  this.alwaysShowSubQuestions,
  required this.reportingOrder,
});