MessageGameScore.fromJson constructor

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

Parse from a json

Implementation

factory MessageGameScore.fromJson(Map<String, dynamic> json) => MessageGameScore(
  gameMessageId: json['game_message_id'],
  gameId: int.parse(json['game_id']),
  score: json['score'],
);