toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (createFooter != null) 'createFooter': createFooter!,
      if (createFootnote != null) 'createFootnote': createFootnote!,
      if (createHeader != null) 'createHeader': createHeader!,
      if (createNamedRange != null) 'createNamedRange': createNamedRange!,
      if (createParagraphBullets != null)
        'createParagraphBullets': createParagraphBullets!,
      if (deleteContentRange != null)
        'deleteContentRange': deleteContentRange!,
      if (deleteFooter != null) 'deleteFooter': deleteFooter!,
      if (deleteHeader != null) 'deleteHeader': deleteHeader!,
      if (deleteNamedRange != null) 'deleteNamedRange': deleteNamedRange!,
      if (deleteParagraphBullets != null)
        'deleteParagraphBullets': deleteParagraphBullets!,
      if (deletePositionedObject != null)
        'deletePositionedObject': deletePositionedObject!,
      if (deleteTableColumn != null) 'deleteTableColumn': deleteTableColumn!,
      if (deleteTableRow != null) 'deleteTableRow': deleteTableRow!,
      if (insertInlineImage != null) 'insertInlineImage': insertInlineImage!,
      if (insertPageBreak != null) 'insertPageBreak': insertPageBreak!,
      if (insertSectionBreak != null)
        'insertSectionBreak': insertSectionBreak!,
      if (insertTable != null) 'insertTable': insertTable!,
      if (insertTableColumn != null) 'insertTableColumn': insertTableColumn!,
      if (insertTableRow != null) 'insertTableRow': insertTableRow!,
      if (insertText != null) 'insertText': insertText!,
      if (mergeTableCells != null) 'mergeTableCells': mergeTableCells!,
      if (pinTableHeaderRows != null)
        'pinTableHeaderRows': pinTableHeaderRows!,
      if (replaceAllText != null) 'replaceAllText': replaceAllText!,
      if (replaceImage != null) 'replaceImage': replaceImage!,
      if (replaceNamedRangeContent != null)
        'replaceNamedRangeContent': replaceNamedRangeContent!,
      if (unmergeTableCells != null) 'unmergeTableCells': unmergeTableCells!,
      if (updateDocumentStyle != null)
        'updateDocumentStyle': updateDocumentStyle!,
      if (updateParagraphStyle != null)
        'updateParagraphStyle': updateParagraphStyle!,
      if (updateSectionStyle != null)
        'updateSectionStyle': updateSectionStyle!,
      if (updateTableCellStyle != null)
        'updateTableCellStyle': updateTableCellStyle!,
      if (updateTableColumnProperties != null)
        'updateTableColumnProperties': updateTableColumnProperties!,
      if (updateTableRowStyle != null)
        'updateTableRowStyle': updateTableRowStyle!,
      if (updateTextStyle != null) 'updateTextStyle': updateTextStyle!,
    };