QuestionConfig constructor

QuestionConfig({
  1. required String id,
  2. required String tenantId,
  3. required String name,
  4. required String question,
  5. String? summaryLabel,
  6. required String helpText,
  7. required DateTime createdAt,
  8. required String createdBy,
  9. required double usedCount,
  10. required DateTime lastUsed,
  11. required String type,
  12. required double numStars,
  13. required double min,
  14. required double max,
  15. required double defaultValue,
  16. required String labelNegative,
  17. required String labelPositive,
  18. List<QuestionConfigCustomOptionsInner> customOptions = const [],
  19. List<String> subQuestionIds = const [],
  20. required bool alwaysShowSubQuestions,
  21. required double reportingOrder,
})

Returns a new QuestionConfig instance.

Implementation

QuestionConfig({
  required this.id,
  required this.tenantId,
  required this.name,
  required this.question,
  this.summaryLabel,
  required this.helpText,
  required this.createdAt,
  required this.createdBy,
  required this.usedCount,
  required this.lastUsed,
  required this.type,
  required this.numStars,
  required this.min,
  required this.max,
  required this.defaultValue,
  required this.labelNegative,
  required this.labelPositive,
  this.customOptions = const [],
  this.subQuestionIds = const [],
  required this.alwaysShowSubQuestions,
  required this.reportingOrder,
});