toJson method
Implementation
Map toJson() {
return {
'bold': bold,
'color': color,
'fontfamily': fontFamily,
'halign': hAlign,
'italic': italic,
'kerning': kerning,
'pixelsize': pixelSize,
'strikeout': strikeout,
'text': text,
'underline': underline,
'valign': vAlign,
'wrap': wrap,
};
}