Response.fromJson constructor

Response.fromJson(
  1. Map json_
)

Implementation

Response.fromJson(core.Map json_)
    : this(
        addBanding: json_.containsKey('addBanding')
            ? AddBandingResponse.fromJson(
                json_['addBanding'] as core.Map<core.String, core.dynamic>)
            : null,
        addChart: json_.containsKey('addChart')
            ? AddChartResponse.fromJson(
                json_['addChart'] as core.Map<core.String, core.dynamic>)
            : null,
        addDataSource: json_.containsKey('addDataSource')
            ? AddDataSourceResponse.fromJson(
                json_['addDataSource'] as core.Map<core.String, core.dynamic>)
            : null,
        addDimensionGroup: json_.containsKey('addDimensionGroup')
            ? AddDimensionGroupResponse.fromJson(json_['addDimensionGroup']
                as core.Map<core.String, core.dynamic>)
            : null,
        addFilterView: json_.containsKey('addFilterView')
            ? AddFilterViewResponse.fromJson(
                json_['addFilterView'] as core.Map<core.String, core.dynamic>)
            : null,
        addNamedRange: json_.containsKey('addNamedRange')
            ? AddNamedRangeResponse.fromJson(
                json_['addNamedRange'] as core.Map<core.String, core.dynamic>)
            : null,
        addProtectedRange: json_.containsKey('addProtectedRange')
            ? AddProtectedRangeResponse.fromJson(json_['addProtectedRange']
                as core.Map<core.String, core.dynamic>)
            : null,
        addSheet: json_.containsKey('addSheet')
            ? AddSheetResponse.fromJson(
                json_['addSheet'] as core.Map<core.String, core.dynamic>)
            : null,
        addSlicer: json_.containsKey('addSlicer')
            ? AddSlicerResponse.fromJson(
                json_['addSlicer'] as core.Map<core.String, core.dynamic>)
            : null,
        cancelDataSourceRefresh: json_.containsKey('cancelDataSourceRefresh')
            ? CancelDataSourceRefreshResponse.fromJson(
                json_['cancelDataSourceRefresh']
                    as core.Map<core.String, core.dynamic>)
            : null,
        createDeveloperMetadata: json_.containsKey('createDeveloperMetadata')
            ? CreateDeveloperMetadataResponse.fromJson(
                json_['createDeveloperMetadata']
                    as core.Map<core.String, core.dynamic>)
            : null,
        deleteConditionalFormatRule:
            json_.containsKey('deleteConditionalFormatRule')
                ? DeleteConditionalFormatRuleResponse.fromJson(
                    json_['deleteConditionalFormatRule']
                        as core.Map<core.String, core.dynamic>)
                : null,
        deleteDeveloperMetadata: json_.containsKey('deleteDeveloperMetadata')
            ? DeleteDeveloperMetadataResponse.fromJson(
                json_['deleteDeveloperMetadata']
                    as core.Map<core.String, core.dynamic>)
            : null,
        deleteDimensionGroup: json_.containsKey('deleteDimensionGroup')
            ? DeleteDimensionGroupResponse.fromJson(
                json_['deleteDimensionGroup']
                    as core.Map<core.String, core.dynamic>)
            : null,
        deleteDuplicates: json_.containsKey('deleteDuplicates')
            ? DeleteDuplicatesResponse.fromJson(json_['deleteDuplicates']
                as core.Map<core.String, core.dynamic>)
            : null,
        duplicateFilterView: json_.containsKey('duplicateFilterView')
            ? DuplicateFilterViewResponse.fromJson(
                json_['duplicateFilterView']
                    as core.Map<core.String, core.dynamic>)
            : null,
        duplicateSheet: json_.containsKey('duplicateSheet')
            ? DuplicateSheetResponse.fromJson(json_['duplicateSheet']
                as core.Map<core.String, core.dynamic>)
            : null,
        findReplace: json_.containsKey('findReplace')
            ? FindReplaceResponse.fromJson(
                json_['findReplace'] as core.Map<core.String, core.dynamic>)
            : null,
        refreshDataSource: json_.containsKey('refreshDataSource')
            ? RefreshDataSourceResponse.fromJson(json_['refreshDataSource']
                as core.Map<core.String, core.dynamic>)
            : null,
        trimWhitespace: json_.containsKey('trimWhitespace')
            ? TrimWhitespaceResponse.fromJson(json_['trimWhitespace']
                as core.Map<core.String, core.dynamic>)
            : null,
        updateConditionalFormatRule:
            json_.containsKey('updateConditionalFormatRule')
                ? UpdateConditionalFormatRuleResponse.fromJson(
                    json_['updateConditionalFormatRule']
                        as core.Map<core.String, core.dynamic>)
                : null,
        updateDataSource: json_.containsKey('updateDataSource')
            ? UpdateDataSourceResponse.fromJson(json_['updateDataSource']
                as core.Map<core.String, core.dynamic>)
            : null,
        updateDeveloperMetadata: json_.containsKey('updateDeveloperMetadata')
            ? UpdateDeveloperMetadataResponse.fromJson(
                json_['updateDeveloperMetadata']
                    as core.Map<core.String, core.dynamic>)
            : null,
        updateEmbeddedObjectPosition:
            json_.containsKey('updateEmbeddedObjectPosition')
                ? UpdateEmbeddedObjectPositionResponse.fromJson(
                    json_['updateEmbeddedObjectPosition']
                        as core.Map<core.String, core.dynamic>)
                : null,
      );