toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ConfidenceLevel.low:
      return 'LOW';
    case ConfidenceLevel.medium:
      return 'MEDIUM';
    case ConfidenceLevel.high:
      return 'HIGH';
  }
}