fromJson static method
Inherited by: InlineKeyboardButtonTypeBuy InlineKeyboardButtonTypeCallbackGame InlineKeyboardButtonTypeCallbackWithPassword InlineKeyboardButtonTypeCallback InlineKeyboardButtonTypeCopyText InlineKeyboardButtonTypeDisabled InlineKeyboardButtonTypeLoginUrl InlineKeyboardButtonTypeSwitchInline InlineKeyboardButtonTypeUrl InlineKeyboardButtonTypeUser InlineKeyboardButtonTypeWebApp
Implementation
static InlineKeyboardButtonTypeCopyText? fromJson(
Map<String, dynamic>? json) {
if (json == null) {
return null;
}
return InlineKeyboardButtonTypeCopyText(
text: (json['text'] as String?) ?? '',
);
}