Fire notifications
This commit is contained in:
parent
c680482b08
commit
5ecc3c3401
22 changed files with 524 additions and 31 deletions
|
|
@ -1,4 +1,5 @@
|
|||
import 'package:fires_flutter/models/yourLocation.dart';
|
||||
import 'package:fires_flutter/models/fireNotification.dart';
|
||||
|
||||
abstract class AppActions {}
|
||||
|
||||
|
|
@ -12,6 +13,8 @@ class FetchYourLocationsSucceededAction extends AppActions {
|
|||
FetchYourLocationsSucceededAction(this.fetchedYourLocations);
|
||||
}
|
||||
|
||||
class FetchFireNotificationsAction extends AppActions {}
|
||||
|
||||
class FetchYourLocationsFailedAction extends AppActions {
|
||||
final Exception error;
|
||||
|
||||
|
|
@ -35,3 +38,9 @@ class OnUserLangAction extends AppActions {
|
|||
|
||||
OnUserLangAction(this.lang);
|
||||
}
|
||||
|
||||
class FetchFireNotificationsSucceededAction extends AppActions {
|
||||
final List<FireNotification> fetchedFireNotifications;
|
||||
|
||||
FetchFireNotificationsSucceededAction(this.fetchedFireNotifications);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue