InlineKeyboardButton.fromJson constructor

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

Parse from a json

Implementation

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