InlineQueryResultGame.fromJson constructor

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

Parses a InlineQueryResultGame from TDLib JSON.

Implementation

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