DocumentClassifierInputDataConfig.fromJson constructor
DocumentClassifierInputDataConfig.fromJson(
- Map<String, dynamic> json
)
Implementation
factory DocumentClassifierInputDataConfig.fromJson(
Map<String, dynamic> json) {
return DocumentClassifierInputDataConfig(
augmentedManifests: (json['AugmentedManifests'] as List?)
?.whereNotNull()
.map((e) =>
AugmentedManifestsListItem.fromJson(e as Map<String, dynamic>))
.toList(),
dataFormat:
(json['DataFormat'] as String?)?.toDocumentClassifierDataFormat(),
labelDelimiter: json['LabelDelimiter'] as String?,
s3Uri: json['S3Uri'] as String?,
);
}