todos-contra-el-fuego-mobile/lib/redux/fireNotificationActions.dart
Vicente J. Ruiz Jurado 5ecc3c3401 Fire notifications
2018-07-26 19:13:12 +02:00

35 lines
920 B
Dart

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