fix : Erreurs dans la sérialisation
This commit is contained in:
@@ -23,10 +23,6 @@ class Routes {
|
||||
|
||||
static const mainView = '/main-view';
|
||||
|
||||
static const homeView = '/home-view';
|
||||
|
||||
static const eventDetailsView = '/event-details-view';
|
||||
|
||||
static const eventDetailsView = '/event-details-view';
|
||||
|
||||
static const all = <String>{
|
||||
@@ -252,39 +248,6 @@ extension NavigatorStateExtension on _i7.NavigationService {
|
||||
transition: transition);
|
||||
}
|
||||
|
||||
Future<dynamic> navigateToHomeView({
|
||||
_i6.Key? key,
|
||||
int? routerId,
|
||||
bool preventDuplicates = true,
|
||||
Map<String, String>? parameters,
|
||||
Widget Function(BuildContext, Animation<double>, Animation<double>, Widget)?
|
||||
transition,
|
||||
}) async {
|
||||
return navigateTo<dynamic>(Routes.homeView,
|
||||
arguments: HomeViewArguments(key: key),
|
||||
id: routerId,
|
||||
preventDuplicates: preventDuplicates,
|
||||
parameters: parameters,
|
||||
transition: transition);
|
||||
}
|
||||
|
||||
Future<dynamic> navigateToEventDetailsView({
|
||||
_i6.Key? key,
|
||||
required int eventId,
|
||||
int? routerId,
|
||||
bool preventDuplicates = true,
|
||||
Map<String, String>? parameters,
|
||||
Widget Function(BuildContext, Animation<double>, Animation<double>, Widget)?
|
||||
transition,
|
||||
}) async {
|
||||
return navigateTo<dynamic>(Routes.eventDetailsView,
|
||||
arguments: EventDetailsViewArguments(key: key, eventId: eventId),
|
||||
id: routerId,
|
||||
preventDuplicates: preventDuplicates,
|
||||
parameters: parameters,
|
||||
transition: transition);
|
||||
}
|
||||
|
||||
Future<dynamic> navigateToEventDetailsView({
|
||||
_i6.Key? key,
|
||||
required int eventId,
|
||||
@@ -350,39 +313,6 @@ extension NavigatorStateExtension on _i7.NavigationService {
|
||||
transition: transition);
|
||||
}
|
||||
|
||||
Future<dynamic> replaceWithHomeView({
|
||||
_i6.Key? key,
|
||||
int? routerId,
|
||||
bool preventDuplicates = true,
|
||||
Map<String, String>? parameters,
|
||||
Widget Function(BuildContext, Animation<double>, Animation<double>, Widget)?
|
||||
transition,
|
||||
}) async {
|
||||
return replaceWith<dynamic>(Routes.homeView,
|
||||
arguments: HomeViewArguments(key: key),
|
||||
id: routerId,
|
||||
preventDuplicates: preventDuplicates,
|
||||
parameters: parameters,
|
||||
transition: transition);
|
||||
}
|
||||
|
||||
Future<dynamic> replaceWithEventDetailsView({
|
||||
_i6.Key? key,
|
||||
required int eventId,
|
||||
int? routerId,
|
||||
bool preventDuplicates = true,
|
||||
Map<String, String>? parameters,
|
||||
Widget Function(BuildContext, Animation<double>, Animation<double>, Widget)?
|
||||
transition,
|
||||
}) async {
|
||||
return replaceWith<dynamic>(Routes.eventDetailsView,
|
||||
arguments: EventDetailsViewArguments(key: key, eventId: eventId),
|
||||
id: routerId,
|
||||
preventDuplicates: preventDuplicates,
|
||||
parameters: parameters,
|
||||
transition: transition);
|
||||
}
|
||||
|
||||
Future<dynamic> replaceWithEventDetailsView({
|
||||
_i6.Key? key,
|
||||
required int eventId,
|
||||
|
||||
Reference in New Issue
Block a user