GameHighScore.fromJson constructor

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

Parse from a json

Implementation

factory GameHighScore.fromJson(Map<String, dynamic> json) => GameHighScore(
  position: json['position'],
  userId: json['user_id'],
  score: json['score'],
);