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