Question constructor
Question({
- int? id,
- required String title,
- String? description,
- AnswerTypeEnum? answerType,
- List<
QuestionOption> options = const [],
Returns a new Question instance.
Implementation
Question({
this.id,
required this.title,
this.description,
this.answerType,
this.options = const [],
});