ListAnalyzersResponse.fromJson constructor

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

Implementation

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