Untitled
unknown
plain_text
a year ago
1.5 kB
5
Indexable
part of 'find_bloc.dart';
abstract class FindEvent extends Equatable {
const FindEvent();
}
class GetChargeStationsEvent extends FindEvent {
const GetChargeStationsEvent();
@override
List<Object?> get props => [];
}
class OpenMapsNavigationEvent extends FindEvent {
const OpenMapsNavigationEvent(this.coordinates);
final List<double> coordinates;
@override
List<Object?> get props => [coordinates];
}
class LoadMarkersEvent extends FindEvent {
const LoadMarkersEvent(this.chargerStations);
final List<ChargeStation> chargerStations;
@override
List<Object?> get props => [chargerStations];
}
class GetFavoriteChargeStationsEvent extends FindEvent {
const GetFavoriteChargeStationsEvent(this.userId);
final String userId;
@override
List<Object?> get props => [userId];
}
class AddFavoriteChargeStationsEvent extends FindEvent {
const AddFavoriteChargeStationsEvent(this.chargerStationId);
final String chargerStationId;
@override
List<Object?> get props => [chargerStationId];
}
class DeleteFavoriteChargeStationsEvent extends FindEvent {
const DeleteFavoriteChargeStationsEvent(this.chargerStationId);
final String chargerStationId;
@override
List<Object?> get props => [chargerStationId];
}
class FilterChargeStationsEvent extends FindEvent {
const FilterChargeStationsEvent(this.filter);
final Filter filter;
@override
List<Object?> get props => [filter];
}
Editor is loading...
Leave a Comment