InlineButton.fromJson constructor
Parses a InlineButton from TDLib JSON.
Implementation
factory InlineButton.fromJson(Map<String, dynamic> json) => InlineButton(
text: _readObject(json['text'], RichText.fromJson),
style: _readObject(json['style'], ButtonStyle.fromJson),
type: _readObject(json['type'], InlineKeyboardButtonType.fromJson),
);