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