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