Files
unionflow-server-api/unionflow/unionflow-mobile-apps/lib/features/notifications/presentation/bloc/notifications_event.dart
dahoud b1957c1c81 feat(unionflow): ajout Spec-Kit, constitution, mission mutuelles
- Config Spec-Kit pour Spec-Driven Development
- CONSTITUTION.md + .specify/memory/constitution.md
- Commandes Cursor /speckit.*, règles projet
- Mission: associations + mutuelles d'épargne et de financement
- .gitignore: versionner config spec-kit unionflow

Made-with: Cursor
2026-02-27 14:41:07 +00:00

34 lines
806 B
Dart

part of 'notifications_bloc.dart';
abstract class NotificationsEvent extends Equatable {
const NotificationsEvent();
@override
List<Object?> get props => [];
}
class LoadNotifications extends NotificationsEvent {
final String membreId;
final bool onlyUnread;
const LoadNotifications({required this.membreId, this.onlyUnread = false});
@override
List<Object?> get props => [membreId, onlyUnread];
}
class MarkNotificationAsRead extends NotificationsEvent {
final String notificationId;
const MarkNotificationAsRead(this.notificationId);
@override
List<Object?> get props => [notificationId];
}
class RefreshNotifications extends NotificationsEvent {
final String membreId;
const RefreshNotifications(this.membreId);
@override
List<Object?> get props => [membreId];
}