MetricTransformation.fromJson constructor
Implementation
factory MetricTransformation.fromJson(Map<String, dynamic> json) {
return MetricTransformation(
metricName: json['metricName'] as String,
metricNamespace: json['metricNamespace'] as String,
metricValue: json['metricValue'] as String,
defaultValue: json['defaultValue'] as double?,
);
}