ExerciseRoundState constructor

const ExerciseRoundState({
  1. int roundNumber = 0,
  2. bool loading = true,
  3. String? error,
  4. bool running = false,
  5. RoundResult? result,
  6. PassVerdict? verdict,
  7. int? errors,
  8. int? previousBest,
  9. bool repeating = false,
  10. bool startedRound = false,
  11. List<RoundResult> history = const [],
  12. CourseUse? courseUse,
  13. QuestionRound? questionRound,
  14. ExerciseChartState chart = ExerciseChartState.vazio,
  15. int serial = 0,
})

Implementation

const ExerciseRoundState({
  this.roundNumber = 0,
  this.loading = true,
  this.error,
  this.running = false,
  this.result,
  this.verdict,
  this.errors,
  this.previousBest,
  this.repeating = false,
  this.startedRound = false,
  this.history = const [],
  this.courseUse,
  this.questionRound,
  this.chart = ExerciseChartState.vazio,
  this.serial = 0,
});