Question constructor
Question({})
Implementation
Question(
{required this.question,
this.singleChoice = true,
Map<String, List<Question>?>? answerChoices,
this.isMandatory = false,
this.errorText,
this.properties,
List<String>? answers})
: answers = answers ?? [],
answerChoices = answerChoices ?? {},
assert(
properties != null && answerChoices!.isEmpty || properties == null);