toRedactionOutput method

RedactionOutput toRedactionOutput()

Implementation

RedactionOutput toRedactionOutput() {
  switch (this) {
    case 'redacted':
      return RedactionOutput.redacted;
    case 'redacted_and_unredacted':
      return RedactionOutput.redactedAndUnredacted;
  }
  throw Exception('$this is not known in enum RedactionOutput');
}