toValue method
Implementation
String toValue() {
switch (this) {
case MaintenanceStatus.success:
return 'SUCCESS';
case MaintenanceStatus.failed:
return 'FAILED';
}
}
String toValue() {
switch (this) {
case MaintenanceStatus.success:
return 'SUCCESS';
case MaintenanceStatus.failed:
return 'FAILED';
}
}