toJson method
override
Object to Map serializer
Implementation
@override
Map<String, dynamic> toJson() {
return {
'@type': 'attachmentMenuBotColor',
if (extra != null) '@extra': extra,
'light_color': light_color,
'dark_color': dark_color
};
}