toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (body != null) 'body': body!,
      if (documentId != null) 'documentId': documentId!,
      if (documentStyle != null) 'documentStyle': documentStyle!,
      if (footers != null) 'footers': footers!,
      if (footnotes != null) 'footnotes': footnotes!,
      if (headers != null) 'headers': headers!,
      if (inlineObjects != null) 'inlineObjects': inlineObjects!,
      if (lists != null) 'lists': lists!,
      if (namedRanges != null) 'namedRanges': namedRanges!,
      if (namedStyles != null) 'namedStyles': namedStyles!,
      if (positionedObjects != null) 'positionedObjects': positionedObjects!,
      if (revisionId != null) 'revisionId': revisionId!,
      if (suggestedDocumentStyleChanges != null)
        'suggestedDocumentStyleChanges': suggestedDocumentStyleChanges!,
      if (suggestedNamedStylesChanges != null)
        'suggestedNamedStylesChanges': suggestedNamedStylesChanges!,
      if (suggestionsViewMode != null)
        'suggestionsViewMode': suggestionsViewMode!,
      if (title != null) 'title': title!,
    };