toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (namedStyleType != null) 'namedStyleType': namedStyleType!,
if (paragraphStyle != null) 'paragraphStyle': paragraphStyle!,
if (textStyle != null) 'textStyle': textStyle!,
};