toJson method
Converts this instance of MPLabelGraphic to a JSON parseable object.
Implementation
@override
Map<String, dynamic> toJson() {
return {
'backgroundImage': backgroundImage,
'content': content,
'stretchX': stretchX,
'stretchY': stretchY,
};
}