GameRecapStats constructor Null safety

GameRecapStats(
  1. Duration gameDuration,
  2. int questionsAnswered,
  3. int totalAmountOfQuestions,
  4. int correctAnswered,
  5. Map<String, int> totalAnsweredByCategory,
  6. Map<String, int> correctAnsweredByCategory,
  7. Map<String, int> totalAnsweredByDifficulty,
  8. Map<String, int> correctAnsweredByDifficulty,
  9. int elo
)

Implementation

GameRecapStats(this.gameDuration,this.questionsAnswered,this.totalAmountOfQuestions,this.correctAnswered,this.totalAnsweredByCategory,this.correctAnsweredByCategory,this.totalAnsweredByDifficulty,this.correctAnsweredByDifficulty, this.elo);