toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (endIndex != null) 'endIndex': endIndex!,
      if (paragraph != null) 'paragraph': paragraph!,
      if (sectionBreak != null) 'sectionBreak': sectionBreak!,
      if (startIndex != null) 'startIndex': startIndex!,
      if (table != null) 'table': table!,
      if (tableOfContents != null) 'tableOfContents': tableOfContents!,
    };