TimeSeriesData.fromJson constructor
TimeSeriesData.fromJson(
- Map json_
Implementation
TimeSeriesData.fromJson(core.Map json_)
: this(
labelValues: json_.containsKey('labelValues')
? (json_['labelValues'] as core.List)
.map((value) => LabelValue.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
pointData: json_.containsKey('pointData')
? (json_['pointData'] as core.List)
.map((value) => PointData.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
);