ListTimeSeriesResponse.fromJson constructor
ListTimeSeriesResponse.fromJson(
- Map json_
Implementation
ListTimeSeriesResponse.fromJson(core.Map json_)
: this(
executionErrors: json_.containsKey('executionErrors')
? (json_['executionErrors'] as core.List)
.map((value) => Status.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
nextPageToken: json_.containsKey('nextPageToken')
? json_['nextPageToken'] as core.String
: null,
timeSeries: json_.containsKey('timeSeries')
? (json_['timeSeries'] as core.List)
.map((value) => TimeSeries.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
unit: json_.containsKey('unit') ? json_['unit'] as core.String : null,
);