toJson method
Converts an object to JSON.
Implementation
@override
Map<String, dynamic> toJson() {
final returnValue = <String, dynamic>{
"\$": "0x372efcd0",
"flags": flags,
"blur": blur,
"motion": motion,
"backgroundColor": backgroundColor,
"secondBackgroundColor": secondBackgroundColor,
"thirdBackgroundColor": thirdBackgroundColor,
"fourthBackgroundColor": fourthBackgroundColor,
"intensity": intensity,
"rotation": rotation,
"emoticon": emoticon,
};
// Finished toJson.
return returnValue;
}