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