fromJson static method
Implementation
static InlineButton? fromJson(Map<String, dynamic>? json) {
if (json == null) {
return null;
}
return InlineButton(
text: RichText.fromJson(json['text'] as Map<String, dynamic>?)!,
style: ButtonStyle.fromJson(json['style'] as Map<String, dynamic>?)!,
type: InlineKeyboardButtonType.fromJson(
json['type'] as Map<String, dynamic>?)!,
);
}