KeyboardButton.fromJson constructor
Parses a KeyboardButton from TDLib JSON.
Implementation
factory KeyboardButton.fromJson(Map<String, dynamic> json) => KeyboardButton(
text: _readString(json['text']),
type: _readObject(json['type'], KeyboardButtonType.fromJson),
);