BooleanAnswerFormat constructor

const BooleanAnswerFormat({
  1. required String positiveAnswer,
  2. required String negativeAnswer,
  3. BooleanResult result = BooleanResult.NONE,
  4. BooleanResult? defaultValue,
})

Implementation

const BooleanAnswerFormat({
  required this.positiveAnswer,
  required this.negativeAnswer,
  this.result = BooleanResult.NONE,
  this.defaultValue,
}) : super();