CreateQuestionConfigBody constructor
CreateQuestionConfigBody({
- required String name,
- required String question,
- String? helpText,
- required String type,
- double? numStars,
- double? min,
- double? max,
- double? defaultValue,
- String? labelNegative,
- String? labelPositive,
- List<
QuestionConfigCustomOptionsInner> customOptions = const [], - List<
String> subQuestionIds = const [], - bool? alwaysShowSubQuestions,
- 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,
});