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