ListEntitiesDetectionV2JobsResponse.fromJson constructor

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

Implementation

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