toValue method
Implementation
String toValue() {
switch (this) {
case ScoreConfidence.veryHigh:
return 'VERY_HIGH';
case ScoreConfidence.high:
return 'HIGH';
case ScoreConfidence.medium:
return 'MEDIUM';
case ScoreConfidence.low:
return 'LOW';
}
}