Request.fromJson constructor

Request.fromJson(
  1. Map json_
)

Implementation

Request.fromJson(core.Map json_)
    : this(
        addBanding: json_.containsKey('addBanding')
            ? AddBandingRequest.fromJson(
                json_['addBanding'] as core.Map<core.String, core.dynamic>)
            : null,
        addChart: json_.containsKey('addChart')
            ? AddChartRequest.fromJson(
                json_['addChart'] as core.Map<core.String, core.dynamic>)
            : null,
        addConditionalFormatRule:
            json_.containsKey('addConditionalFormatRule')
                ? AddConditionalFormatRuleRequest.fromJson(
                    json_['addConditionalFormatRule']
                        as core.Map<core.String, core.dynamic>)
                : null,
        addDataSource: json_.containsKey('addDataSource')
            ? AddDataSourceRequest.fromJson(
                json_['addDataSource'] as core.Map<core.String, core.dynamic>)
            : null,
        addDimensionGroup: json_.containsKey('addDimensionGroup')
            ? AddDimensionGroupRequest.fromJson(json_['addDimensionGroup']
                as core.Map<core.String, core.dynamic>)
            : null,
        addFilterView: json_.containsKey('addFilterView')
            ? AddFilterViewRequest.fromJson(
                json_['addFilterView'] as core.Map<core.String, core.dynamic>)
            : null,
        addNamedRange: json_.containsKey('addNamedRange')
            ? AddNamedRangeRequest.fromJson(
                json_['addNamedRange'] as core.Map<core.String, core.dynamic>)
            : null,
        addProtectedRange: json_.containsKey('addProtectedRange')
            ? AddProtectedRangeRequest.fromJson(json_['addProtectedRange']
                as core.Map<core.String, core.dynamic>)
            : null,
        addSheet: json_.containsKey('addSheet')
            ? AddSheetRequest.fromJson(
                json_['addSheet'] as core.Map<core.String, core.dynamic>)
            : null,
        addSlicer: json_.containsKey('addSlicer')
            ? AddSlicerRequest.fromJson(
                json_['addSlicer'] as core.Map<core.String, core.dynamic>)
            : null,
        appendCells: json_.containsKey('appendCells')
            ? AppendCellsRequest.fromJson(
                json_['appendCells'] as core.Map<core.String, core.dynamic>)
            : null,
        appendDimension: json_.containsKey('appendDimension')
            ? AppendDimensionRequest.fromJson(json_['appendDimension']
                as core.Map<core.String, core.dynamic>)
            : null,
        autoFill: json_.containsKey('autoFill')
            ? AutoFillRequest.fromJson(
                json_['autoFill'] as core.Map<core.String, core.dynamic>)
            : null,
        autoResizeDimensions: json_.containsKey('autoResizeDimensions')
            ? AutoResizeDimensionsRequest.fromJson(
                json_['autoResizeDimensions']
                    as core.Map<core.String, core.dynamic>)
            : null,
        cancelDataSourceRefresh: json_.containsKey('cancelDataSourceRefresh')
            ? CancelDataSourceRefreshRequest.fromJson(
                json_['cancelDataSourceRefresh']
                    as core.Map<core.String, core.dynamic>)
            : null,
        clearBasicFilter: json_.containsKey('clearBasicFilter')
            ? ClearBasicFilterRequest.fromJson(json_['clearBasicFilter']
                as core.Map<core.String, core.dynamic>)
            : null,
        copyPaste: json_.containsKey('copyPaste')
            ? CopyPasteRequest.fromJson(
                json_['copyPaste'] as core.Map<core.String, core.dynamic>)
            : null,
        createDeveloperMetadata: json_.containsKey('createDeveloperMetadata')
            ? CreateDeveloperMetadataRequest.fromJson(
                json_['createDeveloperMetadata']
                    as core.Map<core.String, core.dynamic>)
            : null,
        cutPaste: json_.containsKey('cutPaste')
            ? CutPasteRequest.fromJson(
                json_['cutPaste'] as core.Map<core.String, core.dynamic>)
            : null,
        deleteBanding: json_.containsKey('deleteBanding')
            ? DeleteBandingRequest.fromJson(
                json_['deleteBanding'] as core.Map<core.String, core.dynamic>)
            : null,
        deleteConditionalFormatRule:
            json_.containsKey('deleteConditionalFormatRule')
                ? DeleteConditionalFormatRuleRequest.fromJson(
                    json_['deleteConditionalFormatRule']
                        as core.Map<core.String, core.dynamic>)
                : null,
        deleteDataSource: json_.containsKey('deleteDataSource')
            ? DeleteDataSourceRequest.fromJson(json_['deleteDataSource']
                as core.Map<core.String, core.dynamic>)
            : null,
        deleteDeveloperMetadata: json_.containsKey('deleteDeveloperMetadata')
            ? DeleteDeveloperMetadataRequest.fromJson(
                json_['deleteDeveloperMetadata']
                    as core.Map<core.String, core.dynamic>)
            : null,
        deleteDimension: json_.containsKey('deleteDimension')
            ? DeleteDimensionRequest.fromJson(json_['deleteDimension']
                as core.Map<core.String, core.dynamic>)
            : null,
        deleteDimensionGroup: json_.containsKey('deleteDimensionGroup')
            ? DeleteDimensionGroupRequest.fromJson(
                json_['deleteDimensionGroup']
                    as core.Map<core.String, core.dynamic>)
            : null,
        deleteDuplicates: json_.containsKey('deleteDuplicates')
            ? DeleteDuplicatesRequest.fromJson(json_['deleteDuplicates']
                as core.Map<core.String, core.dynamic>)
            : null,
        deleteEmbeddedObject: json_.containsKey('deleteEmbeddedObject')
            ? DeleteEmbeddedObjectRequest.fromJson(
                json_['deleteEmbeddedObject']
                    as core.Map<core.String, core.dynamic>)
            : null,
        deleteFilterView: json_.containsKey('deleteFilterView')
            ? DeleteFilterViewRequest.fromJson(json_['deleteFilterView']
                as core.Map<core.String, core.dynamic>)
            : null,
        deleteNamedRange: json_.containsKey('deleteNamedRange')
            ? DeleteNamedRangeRequest.fromJson(json_['deleteNamedRange']
                as core.Map<core.String, core.dynamic>)
            : null,
        deleteProtectedRange: json_.containsKey('deleteProtectedRange')
            ? DeleteProtectedRangeRequest.fromJson(
                json_['deleteProtectedRange']
                    as core.Map<core.String, core.dynamic>)
            : null,
        deleteRange: json_.containsKey('deleteRange')
            ? DeleteRangeRequest.fromJson(
                json_['deleteRange'] as core.Map<core.String, core.dynamic>)
            : null,
        deleteSheet: json_.containsKey('deleteSheet')
            ? DeleteSheetRequest.fromJson(
                json_['deleteSheet'] as core.Map<core.String, core.dynamic>)
            : null,
        duplicateFilterView: json_.containsKey('duplicateFilterView')
            ? DuplicateFilterViewRequest.fromJson(json_['duplicateFilterView']
                as core.Map<core.String, core.dynamic>)
            : null,
        duplicateSheet: json_.containsKey('duplicateSheet')
            ? DuplicateSheetRequest.fromJson(json_['duplicateSheet']
                as core.Map<core.String, core.dynamic>)
            : null,
        findReplace: json_.containsKey('findReplace')
            ? FindReplaceRequest.fromJson(
                json_['findReplace'] as core.Map<core.String, core.dynamic>)
            : null,
        insertDimension: json_.containsKey('insertDimension')
            ? InsertDimensionRequest.fromJson(json_['insertDimension']
                as core.Map<core.String, core.dynamic>)
            : null,
        insertRange: json_.containsKey('insertRange')
            ? InsertRangeRequest.fromJson(
                json_['insertRange'] as core.Map<core.String, core.dynamic>)
            : null,
        mergeCells: json_.containsKey('mergeCells')
            ? MergeCellsRequest.fromJson(
                json_['mergeCells'] as core.Map<core.String, core.dynamic>)
            : null,
        moveDimension: json_.containsKey('moveDimension')
            ? MoveDimensionRequest.fromJson(
                json_['moveDimension'] as core.Map<core.String, core.dynamic>)
            : null,
        pasteData: json_.containsKey('pasteData')
            ? PasteDataRequest.fromJson(
                json_['pasteData'] as core.Map<core.String, core.dynamic>)
            : null,
        randomizeRange: json_.containsKey('randomizeRange')
            ? RandomizeRangeRequest.fromJson(json_['randomizeRange']
                as core.Map<core.String, core.dynamic>)
            : null,
        refreshDataSource: json_.containsKey('refreshDataSource')
            ? RefreshDataSourceRequest.fromJson(json_['refreshDataSource']
                as core.Map<core.String, core.dynamic>)
            : null,
        repeatCell: json_.containsKey('repeatCell')
            ? RepeatCellRequest.fromJson(
                json_['repeatCell'] as core.Map<core.String, core.dynamic>)
            : null,
        setBasicFilter: json_.containsKey('setBasicFilter')
            ? SetBasicFilterRequest.fromJson(json_['setBasicFilter']
                as core.Map<core.String, core.dynamic>)
            : null,
        setDataValidation: json_.containsKey('setDataValidation')
            ? SetDataValidationRequest.fromJson(json_['setDataValidation']
                as core.Map<core.String, core.dynamic>)
            : null,
        sortRange: json_.containsKey('sortRange')
            ? SortRangeRequest.fromJson(
                json_['sortRange'] as core.Map<core.String, core.dynamic>)
            : null,
        textToColumns: json_.containsKey('textToColumns')
            ? TextToColumnsRequest.fromJson(
                json_['textToColumns'] as core.Map<core.String, core.dynamic>)
            : null,
        trimWhitespace: json_.containsKey('trimWhitespace')
            ? TrimWhitespaceRequest.fromJson(json_['trimWhitespace']
                as core.Map<core.String, core.dynamic>)
            : null,
        unmergeCells: json_.containsKey('unmergeCells')
            ? UnmergeCellsRequest.fromJson(
                json_['unmergeCells'] as core.Map<core.String, core.dynamic>)
            : null,
        updateBanding: json_.containsKey('updateBanding')
            ? UpdateBandingRequest.fromJson(
                json_['updateBanding'] as core.Map<core.String, core.dynamic>)
            : null,
        updateBorders: json_.containsKey('updateBorders')
            ? UpdateBordersRequest.fromJson(
                json_['updateBorders'] as core.Map<core.String, core.dynamic>)
            : null,
        updateCells: json_.containsKey('updateCells')
            ? UpdateCellsRequest.fromJson(
                json_['updateCells'] as core.Map<core.String, core.dynamic>)
            : null,
        updateChartSpec: json_.containsKey('updateChartSpec')
            ? UpdateChartSpecRequest.fromJson(json_['updateChartSpec']
                as core.Map<core.String, core.dynamic>)
            : null,
        updateConditionalFormatRule:
            json_.containsKey('updateConditionalFormatRule')
                ? UpdateConditionalFormatRuleRequest.fromJson(
                    json_['updateConditionalFormatRule']
                        as core.Map<core.String, core.dynamic>)
                : null,
        updateDataSource: json_.containsKey('updateDataSource')
            ? UpdateDataSourceRequest.fromJson(json_['updateDataSource']
                as core.Map<core.String, core.dynamic>)
            : null,
        updateDeveloperMetadata: json_.containsKey('updateDeveloperMetadata')
            ? UpdateDeveloperMetadataRequest.fromJson(
                json_['updateDeveloperMetadata']
                    as core.Map<core.String, core.dynamic>)
            : null,
        updateDimensionGroup: json_.containsKey('updateDimensionGroup')
            ? UpdateDimensionGroupRequest.fromJson(
                json_['updateDimensionGroup']
                    as core.Map<core.String, core.dynamic>)
            : null,
        updateDimensionProperties:
            json_.containsKey('updateDimensionProperties')
                ? UpdateDimensionPropertiesRequest.fromJson(
                    json_['updateDimensionProperties']
                        as core.Map<core.String, core.dynamic>)
                : null,
        updateEmbeddedObjectBorder:
            json_.containsKey('updateEmbeddedObjectBorder')
                ? UpdateEmbeddedObjectBorderRequest.fromJson(
                    json_['updateEmbeddedObjectBorder']
                        as core.Map<core.String, core.dynamic>)
                : null,
        updateEmbeddedObjectPosition:
            json_.containsKey('updateEmbeddedObjectPosition')
                ? UpdateEmbeddedObjectPositionRequest.fromJson(
                    json_['updateEmbeddedObjectPosition']
                        as core.Map<core.String, core.dynamic>)
                : null,
        updateFilterView: json_.containsKey('updateFilterView')
            ? UpdateFilterViewRequest.fromJson(json_['updateFilterView']
                as core.Map<core.String, core.dynamic>)
            : null,
        updateNamedRange: json_.containsKey('updateNamedRange')
            ? UpdateNamedRangeRequest.fromJson(json_['updateNamedRange']
                as core.Map<core.String, core.dynamic>)
            : null,
        updateProtectedRange: json_.containsKey('updateProtectedRange')
            ? UpdateProtectedRangeRequest.fromJson(
                json_['updateProtectedRange']
                    as core.Map<core.String, core.dynamic>)
            : null,
        updateSheetProperties: json_.containsKey('updateSheetProperties')
            ? UpdateSheetPropertiesRequest.fromJson(
                json_['updateSheetProperties']
                    as core.Map<core.String, core.dynamic>)
            : null,
        updateSlicerSpec: json_.containsKey('updateSlicerSpec')
            ? UpdateSlicerSpecRequest.fromJson(json_['updateSlicerSpec']
                as core.Map<core.String, core.dynamic>)
            : null,
        updateSpreadsheetProperties:
            json_.containsKey('updateSpreadsheetProperties')
                ? UpdateSpreadsheetPropertiesRequest.fromJson(
                    json_['updateSpreadsheetProperties']
                        as core.Map<core.String, core.dynamic>)
                : null,
      );