Aidra Driver 1.3.5+68
Aidra Driver - Your path to green energy
Loading...
Searching...
No Matches
unloading_state.dart
Go to the documentation of this file.
1import 'package:equatable/equatable.dart';
2
3import '../../domain/entities/unloading_collection_entity.dart';
4import '../../domain/entities/unloading_history_entity.dart';
5import '../../domain/entities/warehouse_responsible_entity.dart';
6
7abstract class UnloadingState extends Equatable {
9
10 @override
11 List<Object?> get props => [];
12}
13
14class UnloadingInitial extends UnloadingState {}
15
16class UnloadingLoading extends UnloadingState {}
17
18class UnloadingError extends UnloadingState {
20
21 const UnloadingError({required this.message});
22
23 @override
24 List<Object?> get props => [message];
25}
26
28 final List<UnloadingCollectionEntity> collections;
29
30 const PendingUnloadingCollectionsLoaded({required this.collections});
31
32 @override
33 List<Object?> get props => [collections];
34}
35
37 final List<UnloadingHistoryEntity> history;
38
39 const HistoryUnloadingLoaded({required this.history});
40
41 @override
42 List<Object?> get props => [history];
43}
44
45class GetWarehouseResponsibleLoaded extends UnloadingState {
46 final List<WarehouseResponsibleEntity> warehouseResponsibleList;
47 const GetWarehouseResponsibleLoaded({required this.warehouseResponsibleList});
48 @override
49 List<Object?> get props => [warehouseResponsibleList];
50}
51
52class GetWarehouseResponsibleLoading extends UnloadingState {}
53
55 final String message;
56 const GetWarehouseResponsibleError({required this.message});
57 @override
58 List<Object?> get props => [message];
59}
60
61class SendUnloadingSuccess extends UnloadingState {}
62
63class SendUnloadingLoading extends UnloadingState {}
64
66 final String message;
67 const SendUnloadingError({required this.message});
68 @override
69 List<Object?> get props => [message];
70}
const UnloadingState()
override List< Object?> get props
const GetWarehouseResponsibleLoaded({required this.warehouseResponsibleList})
override List< Object?> get props
final List< UnloadingCollectionEntity > collections
const PendingUnloadingCollectionsLoaded({required this.collections})
final List< WarehouseResponsibleEntity > warehouseResponsibleList
class Partner String
String get(String locale)
final String message
Definition failures.dart:0
const HistoryUnloadingLoaded({required this.history})
class PendingUnloadingCollectionsLoaded extends UnloadingState history
const UnloadingError({required this.message})
const SendUnloadingError({required this.message})
const GetWarehouseResponsibleError({required this.message})
abstract class UseCase< Type, Params > props