toContentClassifier method

ContentClassifier toContentClassifier()

Implementation

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