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