toVocabularyFilterMethod method

VocabularyFilterMethod toVocabularyFilterMethod()

Implementation

VocabularyFilterMethod toVocabularyFilterMethod() {
  switch (this) {
    case 'remove':
      return VocabularyFilterMethod.remove;
    case 'mask':
      return VocabularyFilterMethod.mask;
  }
  throw Exception('$this is not known in enum VocabularyFilterMethod');
}