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