Files
be_happy_public/lib/presentation/event/map_event.dart
2026-05-12 12:02:40 +03:00

34 lines
843 B
Dart

import '../../domain/entities/client_notification.dart';
import '../../domain/entities/point.dart';
import '../../domain/entities/scooter.dart';
import '../../domain/entities/zone.dart';
abstract class ScooterEvent {}
class CheckUser extends ScooterEvent {}
class FetchScooters extends ScooterEvent {
final List<double> area;
final List<double> areaScooters;
FetchScooters(this.area, this.areaScooters);
}
class UpdateMap extends ScooterEvent {}
class FetchProfileData extends ScooterEvent {}
class LogoutPressed extends ScooterEvent {}
class UpdateUserLocation extends ScooterEvent {
final double latitude;
final double longitude;
UpdateUserLocation(this.latitude, this.longitude);
}
class NotificationReceived extends ScooterEvent {
final ClientNotification notification;
NotificationReceived(this.notification);
}