Aidra Driver 1.3.5+68
Aidra Driver - Your path to green energy
Loading...
Searching...
No Matches
res_schedule_status_model.dart
Go to the documentation of this file.
1import '../../../domain/entities/res/res_schedule_status_entity.dart';
2
5 required super.status,
6 });
7
8 factory ResScheduleStatusModel.fromJson(Map<String, dynamic> json) {
10 status: ScheduleStatus.fromString(json['status'] as String? ?? 'empty'),
11 );
12 }
13
14 Map<String, dynamic> toJson() {
15 return {
16 'status': status.name,
17 };
18 }
19}
const ResScheduleStatusModel({ required super.status, })
class Partner String