fromJson static method
Implementation
static BotMenuButton? fromJson(Map<String, dynamic>? json) {
if (json == null) {
return null;
}
return BotMenuButton(
text: (json['text'] as String?) ?? '',
url: (json['url'] as String?) ?? '',
);
}