Aidra Driver 1.3.5+68
Aidra Driver - Your path to green energy
Loading...
Searching...
No Matches
cancellation_reason_isar_model.dart
Go to the documentation of this file.
1import 'package:isar/isar.dart';
2import '../../../../features/collections/data/models/res/res_cancelation_reason_model.dart';
3
4part 'cancellation_reason_isar_model.g.dart';
5
8 @Index(type: IndexType.value)
9 Id? id;
10
12
13 static CancellationReasonIsarModel fromModel(ResCancelationReasonModel model) {
15 ..id = model.id
16 ..name = model.name;
17 }
18
19 ResCancelationReasonModel toModel() {
20 return ResCancelationReasonModel(
21 id: id,
22 name: name,
23 );
24 }
25}
static CancellationReasonIsarModel fromModel(ResCancelationReasonModel model)
Index(type:IndexType.value) Id? id
final String type
class Partner String
class SearchWeeklyCollectionsEvent extends WeeklyCollectionsEvent collection