toValue method
Implementation
String toValue() {
switch (this) {
case SeverityLevel.low:
return 'Low';
case SeverityLevel.medium:
return 'Medium';
case SeverityLevel.high:
return 'High';
}
}
String toValue() {
switch (this) {
case SeverityLevel.low:
return 'Low';
case SeverityLevel.medium:
return 'Medium';
case SeverityLevel.high:
return 'High';
}
}