GetCrawlerMetricsResponse.fromJson constructor

GetCrawlerMetricsResponse.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory GetCrawlerMetricsResponse.fromJson(Map<String, dynamic> json) {
  return GetCrawlerMetricsResponse(
    crawlerMetricsList: (json['CrawlerMetricsList'] as List?)
        ?.whereNotNull()
        .map((e) => CrawlerMetrics.fromJson(e as Map<String, dynamic>))
        .toList(),
    nextToken: json['NextToken'] as String?,
  );
}