PollTypeQuiz constructor

const PollTypeQuiz({
  1. required int correctOptionId,
  2. required FormattedText explanation,
})

A poll in quiz mode, which has exactly one correct answer option and can be answered only once

Implementation

const PollTypeQuiz({
  required this.correctOptionId,
  required this.explanation,
});