toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (autoText != null) 'autoText': autoText!,
  if (columnBreak != null) 'columnBreak': columnBreak!,
  if (endIndex != null) 'endIndex': endIndex!,
  if (equation != null) 'equation': equation!,
  if (footnoteReference != null) 'footnoteReference': footnoteReference!,
  if (horizontalRule != null) 'horizontalRule': horizontalRule!,
  if (inlineObjectElement != null)
    'inlineObjectElement': inlineObjectElement!,
  if (pageBreak != null) 'pageBreak': pageBreak!,
  if (person != null) 'person': person!,
  if (richLink != null) 'richLink': richLink!,
  if (startIndex != null) 'startIndex': startIndex!,
  if (textRun != null) 'textRun': textRun!,
};