InlineQueryResultGame.fromJson constructor

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

Parse from a json

Implementation

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