QuestionBlock constructor

QuestionBlock(
  1. String id,
  2. int line, {
  3. required bool answered,
})

Binds the question id, its header line and whether it is answered.

Implementation

QuestionBlock(this.id, this.line, {required this.answered});