BatchGetValuesResponse.fromJson constructor

BatchGetValuesResponse.fromJson(
  1. Map json_
)

Implementation

BatchGetValuesResponse.fromJson(core.Map json_)
    : this(
        spreadsheetId: json_.containsKey('spreadsheetId')
            ? json_['spreadsheetId'] as core.String
            : null,
        valueRanges: json_.containsKey('valueRanges')
            ? (json_['valueRanges'] as core.List)
                .map((value) => ValueRange.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );