MetricTransformation.fromJson constructor

MetricTransformation.fromJson(
  1. Map<String, dynamic> json
)

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?,
  );
}