MessageGame.fromJson constructor

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

Parse from a json

Implementation

factory MessageGame.fromJson(Map<String, dynamic> json) => MessageGame(
  game: Game.fromJson(json['game']),
);