Dataset.fromJson constructor
Dataset.fromJson(
- Map json_
Implementation
Dataset.fromJson(core.Map json_)
: this(
dataSourceId: json_.containsKey('dataSourceId')
? json_['dataSourceId'] as core.String
: null,
maxEndTimeNs: json_.containsKey('maxEndTimeNs')
? json_['maxEndTimeNs'] as core.String
: null,
minStartTimeNs: json_.containsKey('minStartTimeNs')
? json_['minStartTimeNs'] as core.String
: null,
nextPageToken: json_.containsKey('nextPageToken')
? json_['nextPageToken'] as core.String
: null,
point: json_.containsKey('point')
? (json_['point'] as core.List)
.map((value) => DataPoint.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
);