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