toJson method
override
Object to Map serializer
Implementation
@override
Map<String, dynamic> toJson() {
return {
'@type': 'themeSettings',
if (extra != null) '@extra': extra,
'accent_color': accent_color,
'background': background,
'outgoing_message_fill': outgoing_message_fill,
'animate_outgoing_message_fill': animate_outgoing_message_fill,
'outgoing_message_accent_color': outgoing_message_accent_color
};
}