find_event
unknown
dart
a year ago
853 B
6
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<ChargerStation> chargerStations;
@override
List<Object?> get props => [chargerStations];
}
class GetFavoriteChargeStationsEvent extends FindEvent {
const GetFavoriteChargeStationsEvent(this.userId);
final String userId;
@override
List<Object?> get props => [userId];
}
Editor is loading...
Leave a Comment