MetricData.fromJson constructor
Implementation
factory MetricData.fromJson(Map<String, dynamic> json) {
return MetricData(
metricName: json['MetricName'] as String?,
timestamp: timeStampFromJson(json['Timestamp']),
value: json['Value'] as double?,
);
}