todos-contra-el-fuego-mobile/lib/redux/fireNotificationActions.dart
vjrj 7a4c9fb3bc fix: resolve 2 remaining strict analysis errors
- introPage.dart: Convert fireItems to proper static function closure
- mainDrawer.dart: Convert unreadCount int to String for Text widget
2026-03-06 11:21:06 +01:00

61 lines
No EOL
1.5 KiB
Dart

import '../models/falsePositiveTypes.dart';
import '../models/fireNotification.dart';
abstract class FireNotificationActions {}
class DeleteFireNotificationAction extends FireNotificationActions {
DeleteFireNotificationAction(this.notif);
final FireNotification notif;
}
class DeleteAllFireNotificationAction extends FireNotificationActions {
DeleteAllFireNotificationAction();
}
class AddFireNotificationAction extends FireNotificationActions {
AddFireNotificationAction(this.notif);
final FireNotification notif;
}
class DeletedFireNotificationAction extends FireNotificationActions {
DeletedFireNotificationAction(this.notif);
final FireNotification notif;
}
class DeletedAllFireNotificationAction extends FireNotificationActions {
DeletedAllFireNotificationAction();
}
class AddedFireNotificationAction extends FireNotificationActions {
AddedFireNotificationAction(this.notif);
final FireNotification notif;
}
class ReadFireNotificationAction extends FireNotificationActions {
ReadFireNotificationAction(this.notif);
final FireNotification notif;
}
class ReadedFireNotificationAction extends FireNotificationActions {
ReadedFireNotificationAction(this.notif);
final FireNotification notif;
}
class MarkFireAsFalsePositiveAction extends FireNotificationActions {
MarkFireAsFalsePositiveAction(this.notif, this.type);
final FireNotification notif;
final FalsePositiveType type;
}
class UpdatedFireNotificationAction extends FireNotificationActions {
UpdatedFireNotificationAction(this.notif);
final FireNotification notif;
}