PlayerDatabaseStats constructor Null safety

PlayerDatabaseStats(
  1. {required DurationInformation durationInformation,
  2. required DifficultyInformation difficultyInformation,
  3. required int minutesPlayed,
  4. required int questionsAnswered,
  5. required int elo,
  6. required int questionsRightAnswered,
  7. required CategoryInformation categoryInformation,
  8. required String username}
)

Implementation

PlayerDatabaseStats(
    { required this.durationInformation,
      required this.difficultyInformation,
      required this.minutesPlayed,
      required this.questionsAnswered,
      required this.elo,
      required this.questionsRightAnswered,
      required this.categoryInformation,
      required this.username});