GetContainerServiceMetricDataResult.fromJson constructor
Implementation
factory GetContainerServiceMetricDataResult.fromJson(
Map<String, dynamic> json) {
return GetContainerServiceMetricDataResult(
metricData: (json['metricData'] as List?)
?.whereNotNull()
.map((e) => MetricDatapoint.fromJson(e as Map<String, dynamic>))
.toList(),
metricName:
(json['metricName'] as String?)?.toContainerServiceMetricName(),
);
}