toJson method
Implementation
@override
Map<String, dynamic> toJson() {
return {
'fillColor': fillColor?.toHex(),
'borderColor': borderColor?.toHex(),
'borderWidth': borderWidth,
'fontColor': fontColor?.toHex(),
'fontSize': fontSize,
'familyName': familyName,
'styleName': styleName,
'title': title
};
}