MultipleChoiceAutoCompleteAnswerFormat constructor

const MultipleChoiceAutoCompleteAnswerFormat({
  1. required List<TextChoice> textChoices,
  2. List<TextChoice> defaultSelection = const [],
  3. List<TextChoice> suggestions = const [],
  4. bool otherField = false,
  5. String? question,
  6. String? answerType = type,
})

Implementation

const MultipleChoiceAutoCompleteAnswerFormat({
  required this.textChoices,
  this.defaultSelection = const [],
  this.suggestions = const [],
  this.otherField = false,
  super.question,
  super.answerType = type,
}) : super();