Fire notifications
This commit is contained in:
parent
c680482b08
commit
5ecc3c3401
22 changed files with 524 additions and 31 deletions
35
lib/redux/fireNotificationActions.dart
Normal file
35
lib/redux/fireNotificationActions.dart
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
import 'package:fires_flutter/models/fireNotification.dart';
|
||||
|
||||
abstract class FireNotificationActions {}
|
||||
|
||||
class DeleteFireNotificationAction extends FireNotificationActions {
|
||||
final FireNotification notif;
|
||||
|
||||
DeleteFireNotificationAction(this.notif);
|
||||
}
|
||||
|
||||
class DeleteAllFireNotificationAction extends FireNotificationActions {
|
||||
DeleteAllFireNotificationAction();
|
||||
}
|
||||
|
||||
class AddFireNotificationAction extends FireNotificationActions {
|
||||
final FireNotification notif;
|
||||
|
||||
AddFireNotificationAction(this.notif);
|
||||
}
|
||||
|
||||
class DeletedFireNotificationAction extends FireNotificationActions {
|
||||
final FireNotification notif;
|
||||
|
||||
DeletedFireNotificationAction(this.notif);
|
||||
}
|
||||
|
||||
class DeletedAllFireNotificationAction extends FireNotificationActions {
|
||||
DeletedAllFireNotificationAction();
|
||||
}
|
||||
|
||||
class AddedFireNotificationAction extends FireNotificationActions {
|
||||
final FireNotification notif;
|
||||
|
||||
AddedFireNotificationAction(this.notif);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue