ListEntitiesDetectionJobsResponse.fromJson constructor

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

Implementation

factory ListEntitiesDetectionJobsResponse.fromJson(
    Map<String, dynamic> json) {
  return ListEntitiesDetectionJobsResponse(
    entitiesDetectionJobPropertiesList:
        (json['EntitiesDetectionJobPropertiesList'] as List?)
            ?.whereNotNull()
            .map((e) => EntitiesDetectionJobProperties.fromJson(
                e as Map<String, dynamic>))
            .toList(),
    nextToken: json['NextToken'] as String?,
  );
}