toJson method
Converts a BotCommandScopeDefault to a Map for JSON encoding.
Implementation
@override
Map<String, dynamic> toJson() {
return {
'type': type.toJson(),
};
}
Converts a BotCommandScopeDefault to a Map for JSON encoding.
@override
Map<String, dynamic> toJson() {
return {
'type': type.toJson(),
};
}