toMaintenanceStatus method
Implementation
MaintenanceStatus toMaintenanceStatus() {
switch (this) {
case 'SUCCESS':
return MaintenanceStatus.success;
case 'FAILED':
return MaintenanceStatus.failed;
}
throw Exception('$this is not known in enum MaintenanceStatus');
}