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; }