ListTrainingJobsForHyperParameterTuningJobResponse.fromJson constructor

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

Implementation

factory ListTrainingJobsForHyperParameterTuningJobResponse.fromJson(
    Map<String, dynamic> json) {
  return ListTrainingJobsForHyperParameterTuningJobResponse(
    trainingJobSummaries: (json['TrainingJobSummaries'] as List)
        .whereNotNull()
        .map((e) => HyperParameterTrainingJobSummary.fromJson(
            e as Map<String, dynamic>))
        .toList(),
    nextToken: json['NextToken'] as String?,
  );
}