aman-kassa-flutter/lib/redux/actions.dart

45 lines
700 B
Dart

import 'package:aman_kassa_flutter/model/Game.dart';
class AddGameAction {
final Game game;
AddGameAction(this.game);
@override
String toString() {
return 'AddGameAction{game: $game}';
}
}
class NavigateReplaceAction {
final String routeName;
NavigateReplaceAction(this.routeName);
@override
String toString() {
return 'MainMenuNavigateAction{routeName: $routeName}';
}
}
class NavigatePushAction {
final String routeName;
NavigatePushAction(this.routeName);
@override
String toString() {
return 'NavigatePushAction{routeName: $routeName}';
}
}
class NavigatePopAction {
@override
String toString() {
return 'NavigatePopAction';
}
}