Request.fromJson constructor

Request.fromJson(
  1. Map json_
)

Implementation

Request.fromJson(core.Map json_)
    : this(
        createImage: json_.containsKey('createImage')
            ? CreateImageRequest.fromJson(
                json_['createImage'] as core.Map<core.String, core.dynamic>)
            : null,
        createLine: json_.containsKey('createLine')
            ? CreateLineRequest.fromJson(
                json_['createLine'] as core.Map<core.String, core.dynamic>)
            : null,
        createParagraphBullets: json_.containsKey('createParagraphBullets')
            ? CreateParagraphBulletsRequest.fromJson(
                json_['createParagraphBullets']
                    as core.Map<core.String, core.dynamic>)
            : null,
        createShape: json_.containsKey('createShape')
            ? CreateShapeRequest.fromJson(
                json_['createShape'] as core.Map<core.String, core.dynamic>)
            : null,
        createSheetsChart: json_.containsKey('createSheetsChart')
            ? CreateSheetsChartRequest.fromJson(json_['createSheetsChart']
                as core.Map<core.String, core.dynamic>)
            : null,
        createSlide: json_.containsKey('createSlide')
            ? CreateSlideRequest.fromJson(
                json_['createSlide'] as core.Map<core.String, core.dynamic>)
            : null,
        createTable: json_.containsKey('createTable')
            ? CreateTableRequest.fromJson(
                json_['createTable'] as core.Map<core.String, core.dynamic>)
            : null,
        createVideo: json_.containsKey('createVideo')
            ? CreateVideoRequest.fromJson(
                json_['createVideo'] as core.Map<core.String, core.dynamic>)
            : null,
        deleteObject: json_.containsKey('deleteObject')
            ? DeleteObjectRequest.fromJson(
                json_['deleteObject'] as core.Map<core.String, core.dynamic>)
            : null,
        deleteParagraphBullets: json_.containsKey('deleteParagraphBullets')
            ? DeleteParagraphBulletsRequest.fromJson(
                json_['deleteParagraphBullets']
                    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,
        deleteText: json_.containsKey('deleteText')
            ? DeleteTextRequest.fromJson(
                json_['deleteText'] as core.Map<core.String, core.dynamic>)
            : null,
        duplicateObject: json_.containsKey('duplicateObject')
            ? DuplicateObjectRequest.fromJson(json_['duplicateObject']
                as core.Map<core.String, core.dynamic>)
            : null,
        groupObjects: json_.containsKey('groupObjects')
            ? GroupObjectsRequest.fromJson(
                json_['groupObjects'] as core.Map<core.String, core.dynamic>)
            : null,
        insertTableColumns: json_.containsKey('insertTableColumns')
            ? InsertTableColumnsRequest.fromJson(json_['insertTableColumns']
                as core.Map<core.String, core.dynamic>)
            : null,
        insertTableRows: json_.containsKey('insertTableRows')
            ? InsertTableRowsRequest.fromJson(json_['insertTableRows']
                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,
        refreshSheetsChart: json_.containsKey('refreshSheetsChart')
            ? RefreshSheetsChartRequest.fromJson(json_['refreshSheetsChart']
                as core.Map<core.String, core.dynamic>)
            : null,
        replaceAllShapesWithImage:
            json_.containsKey('replaceAllShapesWithImage')
                ? ReplaceAllShapesWithImageRequest.fromJson(
                    json_['replaceAllShapesWithImage']
                        as core.Map<core.String, core.dynamic>)
                : null,
        replaceAllShapesWithSheetsChart:
            json_.containsKey('replaceAllShapesWithSheetsChart')
                ? ReplaceAllShapesWithSheetsChartRequest.fromJson(
                    json_['replaceAllShapesWithSheetsChart']
                        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,
        rerouteLine: json_.containsKey('rerouteLine')
            ? RerouteLineRequest.fromJson(
                json_['rerouteLine'] as core.Map<core.String, core.dynamic>)
            : null,
        ungroupObjects: json_.containsKey('ungroupObjects')
            ? UngroupObjectsRequest.fromJson(json_['ungroupObjects']
                as core.Map<core.String, core.dynamic>)
            : null,
        unmergeTableCells: json_.containsKey('unmergeTableCells')
            ? UnmergeTableCellsRequest.fromJson(json_['unmergeTableCells']
                as core.Map<core.String, core.dynamic>)
            : null,
        updateImageProperties: json_.containsKey('updateImageProperties')
            ? UpdateImagePropertiesRequest.fromJson(
                json_['updateImageProperties']
                    as core.Map<core.String, core.dynamic>)
            : null,
        updateLineCategory: json_.containsKey('updateLineCategory')
            ? UpdateLineCategoryRequest.fromJson(json_['updateLineCategory']
                as core.Map<core.String, core.dynamic>)
            : null,
        updateLineProperties: json_.containsKey('updateLineProperties')
            ? UpdateLinePropertiesRequest.fromJson(
                json_['updateLineProperties']
                    as core.Map<core.String, core.dynamic>)
            : null,
        updatePageElementAltText:
            json_.containsKey('updatePageElementAltText')
                ? UpdatePageElementAltTextRequest.fromJson(
                    json_['updatePageElementAltText']
                        as core.Map<core.String, core.dynamic>)
                : null,
        updatePageElementTransform:
            json_.containsKey('updatePageElementTransform')
                ? UpdatePageElementTransformRequest.fromJson(
                    json_['updatePageElementTransform']
                        as core.Map<core.String, core.dynamic>)
                : null,
        updatePageElementsZOrder:
            json_.containsKey('updatePageElementsZOrder')
                ? UpdatePageElementsZOrderRequest.fromJson(
                    json_['updatePageElementsZOrder']
                        as core.Map<core.String, core.dynamic>)
                : null,
        updatePageProperties: json_.containsKey('updatePageProperties')
            ? UpdatePagePropertiesRequest.fromJson(
                json_['updatePageProperties']
                    as core.Map<core.String, core.dynamic>)
            : null,
        updateParagraphStyle: json_.containsKey('updateParagraphStyle')
            ? UpdateParagraphStyleRequest.fromJson(
                json_['updateParagraphStyle']
                    as core.Map<core.String, core.dynamic>)
            : null,
        updateShapeProperties: json_.containsKey('updateShapeProperties')
            ? UpdateShapePropertiesRequest.fromJson(
                json_['updateShapeProperties']
                    as core.Map<core.String, core.dynamic>)
            : null,
        updateSlideProperties: json_.containsKey('updateSlideProperties')
            ? UpdateSlidePropertiesRequest.fromJson(
                json_['updateSlideProperties']
                    as core.Map<core.String, core.dynamic>)
            : null,
        updateSlidesPosition: json_.containsKey('updateSlidesPosition')
            ? UpdateSlidesPositionRequest.fromJson(
                json_['updateSlidesPosition']
                    as core.Map<core.String, core.dynamic>)
            : null,
        updateTableBorderProperties:
            json_.containsKey('updateTableBorderProperties')
                ? UpdateTableBorderPropertiesRequest.fromJson(
                    json_['updateTableBorderProperties']
                        as core.Map<core.String, core.dynamic>)
                : null,
        updateTableCellProperties:
            json_.containsKey('updateTableCellProperties')
                ? UpdateTableCellPropertiesRequest.fromJson(
                    json_['updateTableCellProperties']
                        as core.Map<core.String, core.dynamic>)
                : null,
        updateTableColumnProperties:
            json_.containsKey('updateTableColumnProperties')
                ? UpdateTableColumnPropertiesRequest.fromJson(
                    json_['updateTableColumnProperties']
                        as core.Map<core.String, core.dynamic>)
                : null,
        updateTableRowProperties:
            json_.containsKey('updateTableRowProperties')
                ? UpdateTableRowPropertiesRequest.fromJson(
                    json_['updateTableRowProperties']
                        as core.Map<core.String, core.dynamic>)
                : null,
        updateTextStyle: json_.containsKey('updateTextStyle')
            ? UpdateTextStyleRequest.fromJson(json_['updateTextStyle']
                as core.Map<core.String, core.dynamic>)
            : null,
        updateVideoProperties: json_.containsKey('updateVideoProperties')
            ? UpdateVideoPropertiesRequest.fromJson(
                json_['updateVideoProperties']
                    as core.Map<core.String, core.dynamic>)
            : null,
      );