GetMetricDataResponse.fromJson constructor
Implementation
factory GetMetricDataResponse.fromJson(Map<String, dynamic> json) {
return GetMetricDataResponse(
metricResults: (json['MetricResults'] as List?)
?.whereNotNull()
.map(
(e) => HistoricalMetricResult.fromJson(e as Map<String, dynamic>))
.toList(),
nextToken: json['NextToken'] as String?,
);
}