toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() {
final backgroundColor = this.backgroundColor;
final bold = this.bold;
final fontSize = this.fontSize;
final fontType = this.fontType;
final fontWeight = this.fontWeight;
final handwritten = this.handwritten;
final italic = this.italic;
final letterSpacing = this.letterSpacing;
final pixelFontSize = this.pixelFontSize;
final smallcaps = this.smallcaps;
final strikeout = this.strikeout;
final subscript = this.subscript;
final superscript = this.superscript;
final textColor = this.textColor;
final underlined = this.underlined;
return {
'backgroundColor': ?backgroundColor,
'bold': ?bold,
'fontSize': ?fontSize,
'fontType': ?fontType,
'fontWeight': ?fontWeight,
'handwritten': ?handwritten,
'italic': ?italic,
'letterSpacing': ?letterSpacing,
'pixelFontSize': ?pixelFontSize,
'smallcaps': ?smallcaps,
'strikeout': ?strikeout,
'subscript': ?subscript,
'superscript': ?superscript,
'textColor': ?textColor,
'underlined': ?underlined,
};
}