toRedactionType method

RedactionType toRedactionType()

Implementation

RedactionType toRedactionType() {
  switch (this) {
    case 'PII':
      return RedactionType.pii;
  }
  throw Exception('$this is not known in enum RedactionType');
}