toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() {
final backgroundColor = this.backgroundColor;
final baselineOffset = this.baselineOffset;
final bold = this.bold;
final fontSize = this.fontSize;
final foregroundColor = this.foregroundColor;
final italic = this.italic;
final link = this.link;
final smallCaps = this.smallCaps;
final strikethrough = this.strikethrough;
final underline = this.underline;
final weightedFontFamily = this.weightedFontFamily;
return {
'backgroundColor': ?backgroundColor,
'baselineOffset': ?baselineOffset,
'bold': ?bold,
'fontSize': ?fontSize,
'foregroundColor': ?foregroundColor,
'italic': ?italic,
'link': ?link,
'smallCaps': ?smallCaps,
'strikethrough': ?strikethrough,
'underline': ?underline,
'weightedFontFamily': ?weightedFontFamily,
};
}