InputInlineQueryResultGame.fromJson constructor

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

Parse from a json

Implementation

factory InputInlineQueryResultGame.fromJson(Map<String, dynamic> json) =>
    InputInlineQueryResultGame(
      id: json['id'],
      gameShortName: json['game_short_name'],
      replyMarkup: json['reply_markup'] == null
          ? null
          : ReplyMarkup.fromJson(json['reply_markup']),
    );