Answer constructor

const Answer({
  1. int? id,
  2. required int surveyResponseId,
  3. required int questionId,
  4. String? textValue,
  5. List<int>? selectedChoiceIds,
  6. List<String>? fileKeys,
})

Implementation

const Answer({
  this.id,
  required this.surveyResponseId,
  required this.questionId,
  this.textValue,
  this.selectedChoiceIds,
  this.fileKeys,
});