toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case RedactionOutput.redacted:
      return 'redacted';
    case RedactionOutput.redactedAndUnredacted:
      return 'redacted_and_unredacted';
  }
}