Leader.fromJson constructor

Leader.fromJson(
  1. Map<String, dynamic> json
)

Implementation

Leader.fromJson(Map<String, dynamic> json) {
  id = json['id'];
  score = json['score'];
  playerIdentifier = json['playerIdentifier'];
  playerName = json['playerName'];
  playerAvatar = json['playerAvatar'];
  isCurrent = json['isCurrent'];
}