More redux work
This commit is contained in:
parent
7dddf03e32
commit
657fecdf17
9 changed files with 278 additions and 219 deletions
|
|
@ -2,7 +2,6 @@ import 'package:bson_objectid/bson_objectid.dart';
|
|||
import 'package:fires_flutter/models/yourLocation.dart';
|
||||
|
||||
|
||||
|
||||
abstract class YourLocationActions {}
|
||||
|
||||
class AddYourLocationAction extends YourLocationActions {
|
||||
|
|
@ -17,6 +16,12 @@ class AddedYourLocationAction extends YourLocationActions {
|
|||
AddedYourLocationAction(this.loc);
|
||||
}
|
||||
|
||||
class ShowYourLocationMapAction extends YourLocationActions {
|
||||
YourLocation loc;
|
||||
|
||||
ShowYourLocationMapAction(this.loc);
|
||||
}
|
||||
|
||||
class DeleteYourLocationAction extends YourLocationActions {
|
||||
ObjectId id;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue