$Response.fromJson constructor Null safety

$Response.fromJson(
  1. Map _json
)

Implementation

$Response.fromJson(core.Map _json)
    : this(
        clearedRanges: _json.containsKey('clearedRanges')
            ? (_json['clearedRanges'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        spreadsheetId: _json.containsKey('spreadsheetId')
            ? _json['spreadsheetId'] as core.String
            : null,
      );