toJson method
Implementation
@override
Map<String, dynamic> toJson() {
final json = _$ParagraphToJson(this);
if (textAlign != 'left') json['textAlign'] = textAlign;
if (indent != 0) json['indent'] = indent;
if (styleName != null && styleName != 'normal') {
json['styleName'] = styleName;
}
return json;
}