CurrentMetricData.fromJson constructor
Implementation
factory CurrentMetricData.fromJson(Map<String, dynamic> json) {
return CurrentMetricData(
metric: json['Metric'] != null
? CurrentMetric.fromJson(json['Metric'] as Map<String, dynamic>)
: null,
value: json['Value'] as double?,
);
}