PlayerDatabaseStats.fromJson(- Map<String, dynamic> json
)
Implementation
PlayerDatabaseStats.fromJson(Map<String, dynamic> json) {
durationInformation = DurationInformation.fromJson(json['durationInformation']);
difficultyInformation = DifficultyInformation.fromJson(json['difficultyInformation']);
minutesPlayed = json['minutesPlayed'];
questionsAnswered = json['questionsAnswered'];
elo = json['elo'];
questionsRightAnswered = json['questionsRightAnswered'];
categoryInformation = CategoryInformation.fromJson(json['categoryInformation']);
username = json['username'];
}