BatchUpdateSpreadsheetResponse.fromJson constructor

BatchUpdateSpreadsheetResponse.fromJson(
  1. Map json_
)

Implementation

BatchUpdateSpreadsheetResponse.fromJson(core.Map json_)
    : this(
        replies: json_.containsKey('replies')
            ? (json_['replies'] as core.List)
                .map((value) => Response.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        spreadsheetId: json_.containsKey('spreadsheetId')
            ? json_['spreadsheetId'] as core.String
            : null,
        updatedSpreadsheet: json_.containsKey('updatedSpreadsheet')
            ? Spreadsheet.fromJson(json_['updatedSpreadsheet']
                as core.Map<core.String, core.dynamic>)
            : null,
      );