ListDocumentClassificationJobsResponse.fromJson constructor

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

Implementation

factory ListDocumentClassificationJobsResponse.fromJson(
    Map<String, dynamic> json) {
  return ListDocumentClassificationJobsResponse(
    documentClassificationJobPropertiesList:
        (json['DocumentClassificationJobPropertiesList'] as List?)
            ?.whereNotNull()
            .map((e) => DocumentClassificationJobProperties.fromJson(
                e as Map<String, dynamic>))
            .toList(),
    nextToken: json['NextToken'] as String?,
  );
}