You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
1.0 KiB
34 lines
1.0 KiB
2 years ago
|
// GENERATED CODE - DO NOT MODIFY BY HAND
|
||
|
|
||
|
part of 'routes.dart';
|
||
|
|
||
|
// **************************************************************************
|
||
|
// GoRouterGenerator
|
||
|
// **************************************************************************
|
||
|
|
||
|
List<RouteBase> get $appRoutes => [
|
||
|
$notificationsAppRoute,
|
||
|
];
|
||
|
|
||
|
RouteBase get $notificationsAppRoute => GoRouteData.$route(
|
||
|
path: '/apps/notifications',
|
||
|
name: 'notifications',
|
||
|
factory: $NotificationsAppRouteExtension._fromState,
|
||
|
);
|
||
|
|
||
|
extension $NotificationsAppRouteExtension on NotificationsAppRoute {
|
||
|
static NotificationsAppRoute _fromState(GoRouterState state) => const NotificationsAppRoute();
|
||
|
|
||
|
String get location => GoRouteData.$location(
|
||
|
'/apps/notifications',
|
||
|
);
|
||
|
|
||
|
void go(BuildContext context) => context.go(location);
|
||
|
|
||
|
Future<T?> push<T>(BuildContext context) => context.push<T>(location);
|
||
|
|
||
|
void pushReplacement(BuildContext context) => context.pushReplacement(location);
|
||
|
|
||
|
void replace(BuildContext context) => context.replace(location);
|
||
|
}
|