ListDocumentClassifiersResponse.fromJson constructor

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

Implementation

factory ListDocumentClassifiersResponse.fromJson(Map<String, dynamic> json) {
  return ListDocumentClassifiersResponse(
    documentClassifierPropertiesList:
        (json['DocumentClassifierPropertiesList'] as List?)
            ?.whereNotNull()
            .map((e) => DocumentClassifierProperties.fromJson(
                e as Map<String, dynamic>))
            .toList(),
    nextToken: json['NextToken'] as String?,
  );
}