part of 'notifications_bloc.dart'; abstract class NotificationsEvent extends Equatable { const NotificationsEvent(); @override List get props => []; } class LoadNotifications extends NotificationsEvent { /// Si null ou vide, utilise GET /api/notifications/me (membre connecté). final String? membreId; final bool onlyUnread; const LoadNotifications({this.membreId, this.onlyUnread = false}); @override List get props => [membreId, onlyUnread]; } class MarkNotificationAsRead extends NotificationsEvent { final String notificationId; const MarkNotificationAsRead(this.notificationId); @override List get props => [notificationId]; } class RefreshNotifications extends NotificationsEvent { final String? membreId; const RefreshNotifications([this.membreId]); @override List get props => [membreId]; }