Aidra Driver 1.3.5+68
Aidra Driver - Your path to green energy
Loading...
Searching...
No Matches
req_collection_validation_model.dart
Go to the documentation of this file.
1import '../../../domain/entities/req/req_collection_validation_entity.dart';
2
4
5 ReqCollectionValidationModel({required super.id, required super.userId});
6
7 factory ReqCollectionValidationModel.fromJson(Map<String, dynamic> json) {
9 id: json['id'],
10 userId: json['userId'],
11 );
12 }
13
14 @override
15 Map<String, dynamic> toJson() {
16 return {
17 'id': id,
18 'userId': userId,
19 };
20 }
21
24 id: entity.id,
25 userId: entity.userId,
26 );
27 }
28
29}
ReqCollectionValidationModel({required super.id, required super.userId})
override Map< String, dynamic > toJson()
ReqCollectionValidationEntity({ required this.id, required this.userId, })