Aidra Driver 1.3.5+68
Aidra Driver - Your path to green energy
Loading...
Searching...
No Matches
location_selection_state.dart
Go to the documentation of this file.
1part of 'location_selection_bloc.dart';
2
3sealed class LocationSelectionState extends Equatable {
5
6 @override
7 List<Object> get props => [];
8}
9
10class LocationSelectionInitial extends LocationSelectionState {}
11
12class LocationSelectionLoading extends LocationSelectionState {}
13
15 final LatLng location;
17 final bool isAddressLoading;
18
20 required this.location,
21 required this.address,
22 this.isAddressLoading = false,
23 });
24
25 @override
27}
28
31
32 const LocationSelectionError({required this.message});
33
34 @override
35 List<Object> get props => [message];
36}
37
39 final LatLng location;
40 final String address;
41
43 required this.location,
44 required this.address,
45 });
46
47 @override
48 List<Object> get props => [location, address];
49}
const LocationSelectionState()
override List< Object?> get props
const LocationSelectionError({required this.message})
override List< Object > get props
class Partner String
String get(String locale)
final String address
class UpdateLocationEvent extends LocationSelectionEvent location
final bool isAddressLoading
const LocationConfirmed({ required this.location, required this.address, })
const LocationSelectionSuccess({ required this.location, required this.address, this.isAddressLoading=false, })
abstract class UseCase< Type, Params > props