ListEntityRecognizersResponse.fromJson constructor

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

Implementation

factory ListEntityRecognizersResponse.fromJson(Map<String, dynamic> json) {
  return ListEntityRecognizersResponse(
    entityRecognizerPropertiesList: (json['EntityRecognizerPropertiesList']
            as List?)
        ?.whereNotNull()
        .map((e) =>
            EntityRecognizerProperties.fromJson(e as Map<String, dynamic>))
        .toList(),
    nextToken: json['NextToken'] as String?,
  );
}