toJson method
Implementation
Map<String, dynamic> toJson() {
final entityTypes = this.entityTypes;
final annotations = this.annotations;
final augmentedManifests = this.augmentedManifests;
final dataFormat = this.dataFormat;
final documents = this.documents;
final entityList = this.entityList;
return {
'EntityTypes': entityTypes,
if (annotations != null) 'Annotations': annotations,
if (augmentedManifests != null) 'AugmentedManifests': augmentedManifests,
if (dataFormat != null) 'DataFormat': dataFormat.toValue(),
if (documents != null) 'Documents': documents,
if (entityList != null) 'EntityList': entityList,
};
}