ListICD10CMInferenceJobsResponse.fromJson constructor

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

Implementation

factory ListICD10CMInferenceJobsResponse.fromJson(Map<String, dynamic> json) {
  return ListICD10CMInferenceJobsResponse(
    comprehendMedicalAsyncJobPropertiesList:
        (json['ComprehendMedicalAsyncJobPropertiesList'] as List?)
            ?.whereNotNull()
            .map((e) => ComprehendMedicalAsyncJobProperties.fromJson(
                e as Map<String, dynamic>))
            .toList(),
    nextToken: json['NextToken'] as String?,
  );
}