toValue method
Implementation
String toValue() {
switch (this) {
case FindingSeverity.informational:
return 'INFORMATIONAL';
case FindingSeverity.low:
return 'LOW';
case FindingSeverity.medium:
return 'MEDIUM';
case FindingSeverity.high:
return 'HIGH';
case FindingSeverity.critical:
return 'CRITICAL';
case FindingSeverity.undefined:
return 'UNDEFINED';
}
}