Aidra Driver 1.3.5+68
Aidra Driver - Your path to green energy
Loading...
Searching...
No Matches
routing_planning_state.dart File Reference

Go to the source code of this file.

Classes

class  Equatable
class  RoutingPlanningState

Functions

const RoutingPlanningLoaded ({ this.startLocation, this.startAddress, this.selectedCollections, this.collectionsToSchedule, this.endLocation, this.endAddress, })
RoutingPlanningLoaded copyWith ({ LatLng? startLocation, String? startAddress, Set< ResWeeklyCollectionEntity >? selectedCollections, List< ResCollectionToScheduleEntity >? collectionsToSchedule, LatLng? endLocation, String? endAddress, })
const RoutingPlanningError ({ required this.failure, this.startLocation, this.startAddress, this.selectedCollections, this.collectionsToSchedule, this.endLocation, this.endAddress, })

Variables

part of routing_planning_bloc dart
sealed class RoutingPlanningState extends Equatable startLocation
final String startAddress
final Set< ResWeeklyCollectionEntityselectedCollections
final List< ResCollectionToScheduleEntitycollectionsToSchedule
final LatLng endLocation
final String endAddress
bool get isComplete
override List< Object?> get props
override List< Object?> get class RoutingPlanningSuccess extends RoutingPlanningState failure

Function Documentation

◆ copyWith()

Definition at line 37 of file routing_planning_state.dart.

Here is the call graph for this function:

◆ RoutingPlanningError()

Here is the caller graph for this function:

◆ RoutingPlanningLoaded()

Here is the caller graph for this function:

Variable Documentation

◆ collectionsToSchedule

override List< Object?> get collectionsToSchedule

Definition at line 18 of file routing_planning_state.dart.

◆ dart

part of routing_planning_bloc dart

Definition at line 1 of file routing_planning_state.dart.

◆ endAddress

override List< Object?> get endAddress

Definition at line 20 of file routing_planning_state.dart.

◆ endLocation

override List< Object?> get endLocation

Definition at line 19 of file routing_planning_state.dart.

◆ failure

override List<Object?> get class RoutingPlanningSuccess extends RoutingPlanningState failure

◆ isComplete

bool get isComplete
Initial value:
=>
startLocation != null &&
collectionsToSchedule!.isNotEmpty &&
endLocation != null
sealed class RoutingPlanningState extends Equatable startLocation
final List< ResCollectionToScheduleEntity > collectionsToSchedule
final LatLng endLocation

Definition at line 31 of file routing_planning_state.dart.

◆ props

override List<Object?> get props
Initial value:

Definition at line 56 of file routing_planning_state.dart.

◆ selectedCollections

override List< Object > get selectedCollections

Definition at line 17 of file routing_planning_state.dart.

◆ startAddress

override List< Object?> get startAddress

Definition at line 16 of file routing_planning_state.dart.

◆ startLocation

override List< Object?> get startLocation

Definition at line 77 of file routing_planning_state.dart.