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