Aidra Driver 1.3.5+68
Aidra Driver - Your path to green energy
Loading...
Searching...
No Matches
unloading_event.dart
Go to the documentation of this file.
1import 'package:equatable/equatable.dart';
2
3import '../../domain/entities/collection_voucher_entity.dart';
4
5abstract class UnloadingEvent extends Equatable {
7
8 @override
9 List<Object?> get props => [];
10}
11
13 final int userId;
14
15 const GetPendingUnloadingCollectionsEvent({required this.userId});
16
17 @override
18 List<Object?> get props => [userId];
19}
20
22 final int userId;
23
24 const GetHistoryUnloadingEvent({required this.userId});
25
26 @override
27 List<Object?> get props => [userId];
28}
29
31 final int userId;
32 const GetWarehouseResponsibleListEvent({required this.userId});
33 @override
34 List<Object?> get props => [userId];
35}
36
37class SendUnloadingEvent extends UnloadingEvent {
39 final double firstWeight;
40 final int userId;
41 final List<CollectionVoucherEntity> collectionVouchers;
43 required this.warehouseResponsibleId,
44 required this.firstWeight,
45 required this.userId,
46 required this.collectionVouchers,
47 });
48 @override
49 List<Object?> get props => [
50 warehouseResponsibleId,
54 ];
55}
sealed class CheckInOutEvent extends Equatable userId
const UnloadingEvent()
override List< Object?> get props
final int warehouseResponsibleId
final double firstWeight
final List< CollectionVoucherEntity > collectionVouchers
override List< Object?> get props
const SendUnloadingEvent({ required this.warehouseResponsibleId, required this.firstWeight, required this.userId, required this.collectionVouchers, })
const GetHistoryUnloadingEvent({required this.userId})
String get(String locale)
const GetPendingUnloadingCollectionsEvent({required this.userId})
const GetWarehouseResponsibleListEvent({required this.userId})
abstract class UseCase< Type, Params > props