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