ListCandidatesForAutoMLJobResponse.fromJson constructor

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

Implementation

factory ListCandidatesForAutoMLJobResponse.fromJson(
    Map<String, dynamic> json) {
  return ListCandidatesForAutoMLJobResponse(
    candidates: (json['Candidates'] as List)
        .whereNotNull()
        .map((e) => AutoMLCandidate.fromJson(e as Map<String, dynamic>))
        .toList(),
    nextToken: json['NextToken'] as String?,
  );
}