UpdateValuesResponse.fromJson constructor

UpdateValuesResponse.fromJson(
  1. Map json_
)

Implementation

UpdateValuesResponse.fromJson(core.Map json_)
    : this(
        spreadsheetId: json_.containsKey('spreadsheetId')
            ? json_['spreadsheetId'] as core.String
            : null,
        updatedCells: json_.containsKey('updatedCells')
            ? json_['updatedCells'] as core.int
            : null,
        updatedColumns: json_.containsKey('updatedColumns')
            ? json_['updatedColumns'] as core.int
            : null,
        updatedData: json_.containsKey('updatedData')
            ? ValueRange.fromJson(
                json_['updatedData'] as core.Map<core.String, core.dynamic>)
            : null,
        updatedRange: json_.containsKey('updatedRange')
            ? json_['updatedRange'] as core.String
            : null,
        updatedRows: json_.containsKey('updatedRows')
            ? json_['updatedRows'] as core.int
            : null,
      );