servicio
This commit is contained in:
@@ -1,6 +1,13 @@
|
||||
export 'service_status.dart';
|
||||
|
||||
enum ServiceStatus { pending, acepted, active, cancelled, completed }
|
||||
enum ServiceStatus {
|
||||
pending, // 0
|
||||
acepted, // 1
|
||||
denied, // 2
|
||||
active, // 3
|
||||
cancelled, // 4
|
||||
completed, // 5
|
||||
}
|
||||
|
||||
int enumToIntService(ServiceStatus state) {
|
||||
return state.index;
|
||||
|
||||
Reference in New Issue
Block a user