GetCrawlersResponse.fromJson constructor

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

Implementation

factory GetCrawlersResponse.fromJson(Map<String, dynamic> json) {
  return GetCrawlersResponse(
    crawlers: (json['Crawlers'] as List?)
        ?.whereNotNull()
        .map((e) => Crawler.fromJson(e as Map<String, dynamic>))
        .toList(),
    nextToken: json['NextToken'] as String?,
  );
}