PredefinedMetricSpecification.fromJson constructor
Implementation
factory PredefinedMetricSpecification.fromJson(Map<String, dynamic> json) {
return PredefinedMetricSpecification(
predefinedMetricType:
(json['PredefinedMetricType'] as String).toMetricType(),
resourceLabel: json['ResourceLabel'] as String?,
);
}