BatchUpdateSpreadsheetRequest.fromJson constructor

BatchUpdateSpreadsheetRequest.fromJson(
  1. Map json_
)

Implementation

BatchUpdateSpreadsheetRequest.fromJson(core.Map json_)
    : this(
        includeSpreadsheetInResponse:
            json_.containsKey('includeSpreadsheetInResponse')
                ? json_['includeSpreadsheetInResponse'] as core.bool
                : null,
        requests: json_.containsKey('requests')
            ? (json_['requests'] as core.List)
                .map((value) => Request.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        responseIncludeGridData: json_.containsKey('responseIncludeGridData')
            ? json_['responseIncludeGridData'] as core.bool
            : null,
        responseRanges: json_.containsKey('responseRanges')
            ? (json_['responseRanges'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
      );