ReplaceAllShapesWithSheetsChartRequest.fromJson constructor

ReplaceAllShapesWithSheetsChartRequest.fromJson(
  1. Map json_
)

Implementation

ReplaceAllShapesWithSheetsChartRequest.fromJson(core.Map json_)
    : this(
        chartId: json_.containsKey('chartId')
            ? json_['chartId'] as core.int
            : null,
        containsText: json_.containsKey('containsText')
            ? SubstringMatchCriteria.fromJson(
                json_['containsText'] as core.Map<core.String, core.dynamic>)
            : null,
        linkingMode: json_.containsKey('linkingMode')
            ? json_['linkingMode'] as core.String
            : null,
        pageObjectIds: json_.containsKey('pageObjectIds')
            ? (json_['pageObjectIds'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        spreadsheetId: json_.containsKey('spreadsheetId')
            ? json_['spreadsheetId'] as core.String
            : null,
      );