toContentClassifier method
Implementation
ContentClassifier toContentClassifier() {
switch (this) {
case 'FreeOfPersonallyIdentifiableInformation':
return ContentClassifier.freeOfPersonallyIdentifiableInformation;
case 'FreeOfAdultContent':
return ContentClassifier.freeOfAdultContent;
}
throw Exception('$this is not known in enum ContentClassifier');
}