Request.fromJson constructor

Request.fromJson(
  1. Map json_
)

Implementation

Request.fromJson(core.Map json_)
    : this(
        createFooter: json_.containsKey('createFooter')
            ? CreateFooterRequest.fromJson(
                json_['createFooter'] as core.Map<core.String, core.dynamic>)
            : null,
        createFootnote: json_.containsKey('createFootnote')
            ? CreateFootnoteRequest.fromJson(json_['createFootnote']
                as core.Map<core.String, core.dynamic>)
            : null,
        createHeader: json_.containsKey('createHeader')
            ? CreateHeaderRequest.fromJson(
                json_['createHeader'] as core.Map<core.String, core.dynamic>)
            : null,
        createNamedRange: json_.containsKey('createNamedRange')
            ? CreateNamedRangeRequest.fromJson(json_['createNamedRange']
                as core.Map<core.String, core.dynamic>)
            : null,
        createParagraphBullets: json_.containsKey('createParagraphBullets')
            ? CreateParagraphBulletsRequest.fromJson(
                json_['createParagraphBullets']
                    as core.Map<core.String, core.dynamic>)
            : null,
        deleteContentRange: json_.containsKey('deleteContentRange')
            ? DeleteContentRangeRequest.fromJson(json_['deleteContentRange']
                as core.Map<core.String, core.dynamic>)
            : null,
        deleteFooter: json_.containsKey('deleteFooter')
            ? DeleteFooterRequest.fromJson(
                json_['deleteFooter'] as core.Map<core.String, core.dynamic>)
            : null,
        deleteHeader: json_.containsKey('deleteHeader')
            ? DeleteHeaderRequest.fromJson(
                json_['deleteHeader'] as core.Map<core.String, core.dynamic>)
            : null,
        deleteNamedRange: json_.containsKey('deleteNamedRange')
            ? DeleteNamedRangeRequest.fromJson(json_['deleteNamedRange']
                as core.Map<core.String, core.dynamic>)
            : null,
        deleteParagraphBullets: json_.containsKey('deleteParagraphBullets')
            ? DeleteParagraphBulletsRequest.fromJson(
                json_['deleteParagraphBullets']
                    as core.Map<core.String, core.dynamic>)
            : null,
        deletePositionedObject: json_.containsKey('deletePositionedObject')
            ? DeletePositionedObjectRequest.fromJson(
                json_['deletePositionedObject']
                    as core.Map<core.String, core.dynamic>)
            : null,
        deleteTableColumn: json_.containsKey('deleteTableColumn')
            ? DeleteTableColumnRequest.fromJson(json_['deleteTableColumn']
                as core.Map<core.String, core.dynamic>)
            : null,
        deleteTableRow: json_.containsKey('deleteTableRow')
            ? DeleteTableRowRequest.fromJson(json_['deleteTableRow']
                as core.Map<core.String, core.dynamic>)
            : null,
        insertInlineImage: json_.containsKey('insertInlineImage')
            ? InsertInlineImageRequest.fromJson(json_['insertInlineImage']
                as core.Map<core.String, core.dynamic>)
            : null,
        insertPageBreak: json_.containsKey('insertPageBreak')
            ? InsertPageBreakRequest.fromJson(json_['insertPageBreak']
                as core.Map<core.String, core.dynamic>)
            : null,
        insertSectionBreak: json_.containsKey('insertSectionBreak')
            ? InsertSectionBreakRequest.fromJson(json_['insertSectionBreak']
                as core.Map<core.String, core.dynamic>)
            : null,
        insertTable: json_.containsKey('insertTable')
            ? InsertTableRequest.fromJson(
                json_['insertTable'] as core.Map<core.String, core.dynamic>)
            : null,
        insertTableColumn: json_.containsKey('insertTableColumn')
            ? InsertTableColumnRequest.fromJson(json_['insertTableColumn']
                as core.Map<core.String, core.dynamic>)
            : null,
        insertTableRow: json_.containsKey('insertTableRow')
            ? InsertTableRowRequest.fromJson(json_['insertTableRow']
                as core.Map<core.String, core.dynamic>)
            : null,
        insertText: json_.containsKey('insertText')
            ? InsertTextRequest.fromJson(
                json_['insertText'] as core.Map<core.String, core.dynamic>)
            : null,
        mergeTableCells: json_.containsKey('mergeTableCells')
            ? MergeTableCellsRequest.fromJson(json_['mergeTableCells']
                as core.Map<core.String, core.dynamic>)
            : null,
        pinTableHeaderRows: json_.containsKey('pinTableHeaderRows')
            ? PinTableHeaderRowsRequest.fromJson(json_['pinTableHeaderRows']
                as core.Map<core.String, core.dynamic>)
            : null,
        replaceAllText: json_.containsKey('replaceAllText')
            ? ReplaceAllTextRequest.fromJson(json_['replaceAllText']
                as core.Map<core.String, core.dynamic>)
            : null,
        replaceImage: json_.containsKey('replaceImage')
            ? ReplaceImageRequest.fromJson(
                json_['replaceImage'] as core.Map<core.String, core.dynamic>)
            : null,
        replaceNamedRangeContent:
            json_.containsKey('replaceNamedRangeContent')
                ? ReplaceNamedRangeContentRequest.fromJson(
                    json_['replaceNamedRangeContent']
                        as core.Map<core.String, core.dynamic>)
                : null,
        unmergeTableCells: json_.containsKey('unmergeTableCells')
            ? UnmergeTableCellsRequest.fromJson(json_['unmergeTableCells']
                as core.Map<core.String, core.dynamic>)
            : null,
        updateDocumentStyle: json_.containsKey('updateDocumentStyle')
            ? UpdateDocumentStyleRequest.fromJson(json_['updateDocumentStyle']
                as core.Map<core.String, core.dynamic>)
            : null,
        updateParagraphStyle: json_.containsKey('updateParagraphStyle')
            ? UpdateParagraphStyleRequest.fromJson(
                json_['updateParagraphStyle']
                    as core.Map<core.String, core.dynamic>)
            : null,
        updateSectionStyle: json_.containsKey('updateSectionStyle')
            ? UpdateSectionStyleRequest.fromJson(json_['updateSectionStyle']
                as core.Map<core.String, core.dynamic>)
            : null,
        updateTableCellStyle: json_.containsKey('updateTableCellStyle')
            ? UpdateTableCellStyleRequest.fromJson(
                json_['updateTableCellStyle']
                    as core.Map<core.String, core.dynamic>)
            : null,
        updateTableColumnProperties:
            json_.containsKey('updateTableColumnProperties')
                ? UpdateTableColumnPropertiesRequest.fromJson(
                    json_['updateTableColumnProperties']
                        as core.Map<core.String, core.dynamic>)
                : null,
        updateTableRowStyle: json_.containsKey('updateTableRowStyle')
            ? UpdateTableRowStyleRequest.fromJson(json_['updateTableRowStyle']
                as core.Map<core.String, core.dynamic>)
            : null,
        updateTextStyle: json_.containsKey('updateTextStyle')
            ? UpdateTextStyleRequest.fromJson(json_['updateTextStyle']
                as core.Map<core.String, core.dynamic>)
            : null,
      );