Aidra Driver 1.3.5+68
Aidra Driver - Your path to green energy
Loading...
Searching...
No Matches
collection_contact_isar_model.dart
Go to the documentation of this file.
1import 'package:isar/isar.dart';
2
3import '../../../../features/collections/data/models/res/res_collection_contact_model.dart';
4
5part 'collection_contact_isar_model.g.dart';
6
9 @Index(type: IndexType.value)
10 final Id? id;
12
14 this.id,
15 this.reference,
16 });
17
18 static CollectionContactIsarModel fromModel(ResCollectionContactModel model) {
20 id: model.id,
21 reference: model.reference,
22 );
23 }
24
25 ResCollectionContactModel toModel() {
26 return ResCollectionContactModel(
27 id: id,
29 );
30 }
31}
CollectionContactIsarModel({ this.id, this.reference, })
Index(type:IndexType.value) final Id? id
static CollectionContactIsarModel fromModel(ResCollectionContactModel model)
final String type
class Partner String
class SearchWeeklyCollectionsEvent extends WeeklyCollectionsEvent collection