BooleanAnswerFormat constructor

const BooleanAnswerFormat({
  1. required String positiveAnswer,
  2. required String negativeAnswer,
  3. BooleanResult result = BooleanResult.none,
  4. String? question,
  5. String? answerType = type,
})

Implementation

const BooleanAnswerFormat({
  required this.positiveAnswer,
  required this.negativeAnswer,
  this.result = BooleanResult.none,
  super.question,
  super.answerType = type,
}) : super();