Better fire stats. False positives mark api part
This commit is contained in:
parent
e9c6c3fc55
commit
cb02156ae1
10 changed files with 174 additions and 75 deletions
|
|
@ -1,4 +1,5 @@
|
|||
import 'package:fires_flutter/models/fireNotification.dart';
|
||||
import '../models/falsePositiveTypes.dart';
|
||||
|
||||
abstract class FireNotificationActions {}
|
||||
|
||||
|
|
@ -45,3 +46,16 @@ class ReadedFireNotificationAction extends FireNotificationActions {
|
|||
|
||||
ReadedFireNotificationAction(this.notif);
|
||||
}
|
||||
|
||||
class MarkFireAsFalsePositiveAction extends FireNotificationActions {
|
||||
final FireNotification notif;
|
||||
final FalsePositiveType type;
|
||||
|
||||
MarkFireAsFalsePositiveAction(this.notif, this.type);
|
||||
}
|
||||
|
||||
class UpdatedFireNotificationAction extends FireNotificationActions {
|
||||
final FireNotification notif;
|
||||
|
||||
UpdatedFireNotificationAction(this.notif);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue