Aidra Driver 1.3.5+68
Aidra Driver - Your path to green energy
Loading...
Searching...
No Matches
collections_event.dart
Go to the documentation of this file.
1part of 'collections_bloc.dart';
2
3sealed class CollectionsEvent extends Equatable {
5
6 @override
7 List<Object> get props => [];
8}
9
11 final int userId;
12 final bool notForToday;
13 final String? type;
14
16 required this.userId,
17 required this.notForToday,
18 required this.type,
19 });
20
21 @override
22 List<Object> get props => [userId, notForToday, type ?? ''];
23}
24
26 final int collectionId;
30 final int? userId;
31
33 required this.collectionId,
34 required this.status,
35 this.cancellationReasonId,
36 required this.reference,
37 required this.userId
38 });
39
40 @override
42}
43
44class LoadCancellationReasonsEvent extends CollectionsEvent {}
45
49
51 required this.collectionId,
52 required this.userId
53 });
54
55 @override
56 List<Object> get props => [collectionId, userId];
57}
sealed class CheckInOutEvent extends Equatable userId
const UpdateCollectionStatusEvent({ required this.collectionId, required this.status, this.cancellationReasonId, required this.reference, required this.userId })
override List< Object > get props
final CollectionStatus status
final String cancellationReasonId
const CollectionsEvent()
override List< Object?> get props
CollectionStatus
class UpdateCollectionStatusEvent extends CollectionsEvent collectionId
const LoadCollectionsEvent({ required this.userId, required this.notForToday, required this.type, })
final String type
final bool notForToday
const ValidateCollectionEvent({ required this.collectionId, required this.userId })
class Partner String
String get(String locale)
abstract class UseCase< Type, Params > props