Aidra Driver 1.3.5+68
Aidra Driver - Your path to green energy
Loading...
Searching...
No Matches
res_schedule_status_entity.dart
Go to the documentation of this file.
4 validated;
5
7 switch (status.toLowerCase()) {
8 case 'draft':
9 return ScheduleStatus.draft;
10 case 'validated':
11 return ScheduleStatus.validated;
12 case 'empty':
13 default:
14 return ScheduleStatus.empty;
15 }
16 }
17
18 String get displayName {
19 switch (this) {
20 case ScheduleStatus.empty:
21 return 'Empty';
22 case ScheduleStatus.draft:
23 return 'Waiting for Approval';
24 case ScheduleStatus.validated:
25 return 'Approved';
26 }
27 }
28}
29
32
34 required this.status,
35 });
36}
class Partner String
String get(String locale)
class GetScheduleStatusParams ResScheduleStatusEntity