fromJson static method
Implementation
static InlineQueryResultsButton? fromJson(Map<String, dynamic>? json) {
if (json == null) {
return null;
}
return InlineQueryResultsButton(
text: (json['text'] as String?) ?? '',
type: InlineQueryResultsButtonType.fromJson(tdMapFromJson(json['type'])),
);
}