PlayerDatabaseStats constructor Null safety
- {required DurationInformation durationInformation,
- required DifficultyInformation difficultyInformation,
- required int minutesPlayed,
- required int questionsAnswered,
- required int elo,
- required int questionsRightAnswered,
- required CategoryInformation categoryInformation,
- 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});