PlayerStatsDto.fromJson constructor
Implementation
PlayerStatsDto.fromJson(Map<String, dynamic> json) {
score = json['score'] ?? 0;
roundsPlayed = json['roundsPlayed'] ?? 0;
kills = json['kills'] ?? 0;
deaths = json['deaths'] ?? 0;
assists = json['assists'] ?? 0;
playtimeMillis = json['playtimeMillis'] ?? 0;
abilityCasts = AbilityCastsDto.fromJson(json['abilityCasts']!);
}