This commit is contained in:
Felipe
2024-04-09 21:28:16 -05:00
parent 60547febb6
commit ef06730840
12 changed files with 1440 additions and 230 deletions
@@ -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;