- 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
34 lines
806 B
Dart
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];
|
|
}
|