QuizState constructor

QuizState({
  1. List<Question> questions = const [],
  2. int currentIndex = 0,
  3. int score = 0,
  4. bool isFinished = false,
  5. int timeLeft = 10,
})

Implementation

QuizState({
  this.questions = const [],
  this.currentIndex = 0,
  this.score = 0,
  this.isFinished = false,
  this.timeLeft = 10,
});