- introPage.dart: Convert fireItems to proper static function closure - mainDrawer.dart: Convert unreadCount int to String for Text widget
67 lines
1.3 KiB
Dart
67 lines
1.3 KiB
Dart
import 'package:objectid/objectid.dart';
|
|
|
|
import '../models/yourLocation.dart';
|
|
|
|
abstract class YourLocationActions {}
|
|
|
|
class AddYourLocationAction extends YourLocationActions {
|
|
|
|
AddYourLocationAction(this.loc);
|
|
YourLocation loc;
|
|
}
|
|
|
|
class AddedYourLocationAction extends YourLocationActions {
|
|
|
|
AddedYourLocationAction(this.loc);
|
|
YourLocation loc;
|
|
}
|
|
|
|
class DeleteYourLocationAction extends YourLocationActions {
|
|
|
|
DeleteYourLocationAction(this.loc);
|
|
YourLocation loc;
|
|
}
|
|
|
|
class DeletedYourLocationAction extends YourLocationActions {
|
|
|
|
DeletedYourLocationAction(this.id);
|
|
ObjectId id;
|
|
}
|
|
|
|
class UpdateYourLocationAction extends YourLocationActions {
|
|
|
|
UpdateYourLocationAction(this.loc);
|
|
YourLocation loc;
|
|
}
|
|
|
|
class UpdatedYourLocationAction extends YourLocationActions {
|
|
|
|
UpdatedYourLocationAction(this.loc);
|
|
YourLocation loc;
|
|
}
|
|
|
|
class ToggleSubscriptionAction extends YourLocationActions {
|
|
|
|
ToggleSubscriptionAction(this.loc);
|
|
YourLocation loc;
|
|
}
|
|
|
|
class ToggledSubscriptionAction extends YourLocationActions {
|
|
|
|
ToggledSubscriptionAction(this.loc);
|
|
YourLocation loc;
|
|
}
|
|
|
|
class SubscribeAction extends YourLocationActions {}
|
|
|
|
class SubscribeConfirmAction extends YourLocationActions {
|
|
|
|
SubscribeConfirmAction(this.loc);
|
|
YourLocation loc;
|
|
}
|
|
|
|
class UnSubscribeAction extends YourLocationActions {
|
|
|
|
UnSubscribeAction(this.loc);
|
|
YourLocation loc;
|
|
}
|