Aidra Driver 1.3.5+68
Aidra Driver - Your path to green energy
Loading...
Searching...
No Matches
routing_planning_event.dart
Go to the documentation of this file.
1part of 'routing_planning_bloc.dart';
2
3sealed class RoutingPlanningEvent extends Equatable {
5
6 @override
7 List<Object> get props => [];
8}
9
11 final LatLng location;
13
15 required this.location,
16 required this.address,
17 });
18
19 @override
20 List<Object> get props => [location, address];
21}
22
24 final Set<ResWeeklyCollectionEntity> collections;
25
26 const SetSelectedCollectionsEvent({required this.collections});
27
28 @override
29 List<Object> get props => [collections];
30}
31
33 final LatLng location;
34 final String address;
35
37 required this.location,
38 required this.address,
39 });
40
41 @override
42 List<Object> get props => [location, address];
43}
44
45class CreateRoutingEvent extends RoutingPlanningEvent {
46 final int driverId;
47 final int duration;
48
50 required this.driverId,
51 required this.duration,
52 });
53
54 @override
55 List<Object> get props => [driverId, duration];
56}
57
59 final List<ResCollectionToScheduleEntity> collections;
60
61 const SetCollectionsToScheduleEvent({required this.collections});
62
63 @override
64 List<Object> get props => [collections];
65}
66
67class ResetRoutingPlanningEvent extends RoutingPlanningEvent {
69}
const RoutingPlanningEvent()
override List< Object?> get props
override List< Object > get props
final Set< ResWeeklyCollectionEntity > collections
const ResetRoutingPlanningEvent()
const CreateRoutingEvent({ required this.driverId, required this.duration, })
const SetSelectedCollectionsEvent({required this.collections})
sealed class CollectionsState extends Equatable collections
class Partner String
String get(String locale)
final String address
class UpdateLocationEvent extends LocationSelectionEvent location
const SetCollectionsToScheduleEvent({required this.collections})
const SetStartLocationEvent({ required this.location, required this.address, })
const SetEndLocationEvent({ required this.location, required this.address, })
abstract class UseCase< Type, Params > props