InlineQueryResultsButton.fromJson constructor

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

Parse from a json

Implementation

factory InlineQueryResultsButton.fromJson(Map<String, dynamic> json) =>
    InlineQueryResultsButton(
      text: json['text'],
      type: InlineQueryResultsButtonType.fromJson(json['type']),
    );