find_state
unknown
dart
5 months ago
1.7 kB
2
Indexable
part of 'find_bloc.dart'; abstract class FindState extends Equatable { const FindState(); @override List<Object?> get props => []; } class FindInitial extends FindState { const FindInitial(); } class FindLoading extends FindState { const FindLoading(); } class FindError extends FindState { const FindError(this.message); final String message; @override List<Object?> get props => [message]; } class ChargeStationsLoaded extends FindState { const ChargeStationsLoaded(this.chargeStations); final List<ChargerStation> chargeStations; @override List<Object?> get props => [chargeStations]; } class GetChargeStationsError extends FindState { const GetChargeStationsError(this.message, this.codeStatus); final String message; final int codeStatus; @override List<Object?> get props => [message, codeStatus]; } class OpenMapsNavigationSuccess extends FindState { const OpenMapsNavigationSuccess(); @override List<Object?> get props => []; } class MarkersLoaded extends FindState { const MarkersLoaded(this.markers); final Set<Marker> markers; @override List<Object?> get props => [markers]; } class FavoriteChargeStationsLoaded extends FindState { const FavoriteChargeStationsLoaded(this.favoriteChargeStations); final List<ChargerStation> favoriteChargeStations; @override List<Object?> get props => [favoriteChargeStations]; } class GetFavoriteChargeStationsError extends FindState { const GetFavoriteChargeStationsError(this.message, this.codeStatus); final String message; final int codeStatus; @override List<Object?> get props => [message, codeStatus]; }
Editor is loading...
Leave a Comment