// GENERATED CODE - DO NOT MODIFY BY HAND // ************************************************************************** // AutoRouterGenerator // ************************************************************************** // ignore_for_file: type=lint // coverage:ignore-file part of 'rewards_page_router.dart'; abstract class _$RewardsPageRouter extends RootStackRouter { // ignore: unused_element _$RewardsPageRouter({super.navigatorKey}); @override final Map pagesMap = { RewardsAddressPageRoute.name: (routeData) { return AutoRoutePage( routeData: routeData, child: const RewardsAddressPage(), ); }, RewardsCodePageRoute.name: (routeData) { final pathParams = routeData.inheritedPathParams; final args = routeData.argsAs( orElse: () => RewardsCodePageRouteArgs(code: pathParams.optInt('code'))); return AutoRoutePage( routeData: routeData, child: RewardsCodePage( key: args.key, code: args.code, ), ); }, RewardsConfirmPageRoute.name: (routeData) { final pathParams = routeData.inheritedPathParams; final args = routeData.argsAs( orElse: () => RewardsConfirmPageRouteArgs(id: pathParams.optInt('id'))); return AutoRoutePage( routeData: routeData, child: RewardsConfirmPage( key: args.key, id: args.id, ), ); }, RewardsDetailPageRoute.name: (routeData) { final pathParams = routeData.inheritedPathParams; final args = routeData.argsAs( orElse: () => RewardsDetailPageRouteArgs(id: pathParams.optInt('id'))); return AutoRoutePage( routeData: routeData, child: RewardsDetailPage( key: args.key, id: args.id, ), ); }, RewardsHistoryEarnedPageRoute.name: (routeData) { return AutoRoutePage( routeData: routeData, child: const RewardsHistoryEarnedPage(), ); }, RewardsHistoryPageRoute.name: (routeData) { return AutoRoutePage( routeData: routeData, child: const RewardsHistoryPage(), ); }, RewardsHistorySpentPageRoute.name: (routeData) { return AutoRoutePage( routeData: routeData, child: const RewardsHistorySpentPage(), ); }, RewardsSuccessfulPageRoute.name: (routeData) { final pathParams = routeData.inheritedPathParams; final args = routeData.argsAs( orElse: () => RewardsSuccessfulPageRouteArgs( amount: pathParams.optInt('amount'), title: pathParams.optString('title'), resources: pathParams.optString('resources'), redeemedDate: pathParams.optString('redeemedDate'), createdAt: pathParams.optString('createdAt'), )); return AutoRoutePage( routeData: routeData, child: RewardsSuccessfulPage( key: args.key, amount: args.amount, title: args.title, resources: args.resources, redeemedDate: args.redeemedDate, createdAt: args.createdAt, ), ); }, RewardsHomePageRoute.name: (routeData) { final pathParams = routeData.inheritedPathParams; final args = routeData.argsAs( orElse: () => RewardsHomePageRouteArgs(points: pathParams.optInt('points'))); return AutoRoutePage( routeData: routeData, child: RewardsHomePage( key: args.key, points: args.points, ), ); }, RewardsListPageRoute.name: (routeData) { return AutoRoutePage( routeData: routeData, child: const RewardsListPage(), ); }, RewardsMyActivePageRoute.name: (routeData) { return AutoRoutePage( routeData: routeData, child: const RewardsMyActivePage(), ); }, RewardsMyExpiredPageRoute.name: (routeData) { return AutoRoutePage( routeData: routeData, child: const RewardsMyExpiredPage(), ); }, RewardsMyPageRoute.name: (routeData) { return AutoRoutePage( routeData: routeData, child: const RewardsMyPage(), ); }, RewardsMyUsedPageRoute.name: (routeData) { return AutoRoutePage( routeData: routeData, child: const RewardsMyUsedPage(), ); }, RewardsPageRoute.name: (routeData) { return AutoRoutePage( routeData: routeData, child: const RewardsPage(), ); }, RewardsRedeemPageRoute.name: (routeData) { final pathParams = routeData.inheritedPathParams; final args = routeData.argsAs( orElse: () => RewardsRedeemPageRouteArgs(id: pathParams.optInt('id'))); return AutoRoutePage( routeData: routeData, child: RewardsRedeemPage( key: args.key, id: args.id, ), ); }, RewardsSearchPageRoute.name: (routeData) { return AutoRoutePage( routeData: routeData, child: const RewardsSearchPage(), ); }, RewardsTransactionPageRoute.name: (routeData) { final pathParams = routeData.inheritedPathParams; final args = routeData.argsAs( orElse: () => RewardsTransactionPageRouteArgs( id: pathParams.optInt('id'), type: pathParams.optString('type'), )); return AutoRoutePage( routeData: routeData, child: RewardsTransactionPage( key: args.key, id: args.id, type: args.type, ), ); }, }; } /// generated route for /// [RewardsAddressPage] class RewardsAddressPageRoute extends PageRouteInfo { const RewardsAddressPageRoute({List? children}) : super( RewardsAddressPageRoute.name, initialChildren: children, ); static const String name = 'RewardsAddressPageRoute'; static const PageInfo page = PageInfo(name); } /// generated route for /// [RewardsCodePage] class RewardsCodePageRoute extends PageRouteInfo { RewardsCodePageRoute({ Key? key, required int? code, List? children, }) : super( RewardsCodePageRoute.name, args: RewardsCodePageRouteArgs( key: key, code: code, ), rawPathParams: {'code': code}, initialChildren: children, ); static const String name = 'RewardsCodePageRoute'; static const PageInfo page = PageInfo(name); } class RewardsCodePageRouteArgs { const RewardsCodePageRouteArgs({ this.key, required this.code, }); final Key? key; final int? code; @override String toString() { return 'RewardsCodePageRouteArgs{key: $key, code: $code}'; } } /// generated route for /// [RewardsConfirmPage] class RewardsConfirmPageRoute extends PageRouteInfo { RewardsConfirmPageRoute({ Key? key, required int? id, List? children, }) : super( RewardsConfirmPageRoute.name, args: RewardsConfirmPageRouteArgs( key: key, id: id, ), rawPathParams: {'id': id}, initialChildren: children, ); static const String name = 'RewardsConfirmPageRoute'; static const PageInfo page = PageInfo(name); } class RewardsConfirmPageRouteArgs { const RewardsConfirmPageRouteArgs({ this.key, required this.id, }); final Key? key; final int? id; @override String toString() { return 'RewardsConfirmPageRouteArgs{key: $key, id: $id}'; } } /// generated route for /// [RewardsDetailPage] class RewardsDetailPageRoute extends PageRouteInfo { RewardsDetailPageRoute({ Key? key, required int? id, List? children, }) : super( RewardsDetailPageRoute.name, args: RewardsDetailPageRouteArgs( key: key, id: id, ), rawPathParams: {'id': id}, initialChildren: children, ); static const String name = 'RewardsDetailPageRoute'; static const PageInfo page = PageInfo(name); } class RewardsDetailPageRouteArgs { const RewardsDetailPageRouteArgs({ this.key, required this.id, }); final Key? key; final int? id; @override String toString() { return 'RewardsDetailPageRouteArgs{key: $key, id: $id}'; } } /// generated route for /// [RewardsHistoryEarnedPage] class RewardsHistoryEarnedPageRoute extends PageRouteInfo { const RewardsHistoryEarnedPageRoute({List? children}) : super( RewardsHistoryEarnedPageRoute.name, initialChildren: children, ); static const String name = 'RewardsHistoryEarnedPageRoute'; static const PageInfo page = PageInfo(name); } /// generated route for /// [RewardsHistoryPage] class RewardsHistoryPageRoute extends PageRouteInfo { const RewardsHistoryPageRoute({List? children}) : super( RewardsHistoryPageRoute.name, initialChildren: children, ); static const String name = 'RewardsHistoryPageRoute'; static const PageInfo page = PageInfo(name); } /// generated route for /// [RewardsHistorySpentPage] class RewardsHistorySpentPageRoute extends PageRouteInfo { const RewardsHistorySpentPageRoute({List? children}) : super( RewardsHistorySpentPageRoute.name, initialChildren: children, ); static const String name = 'RewardsHistorySpentPageRoute'; static const PageInfo page = PageInfo(name); } /// generated route for /// [RewardsHomePage] class RewardsHomePageRoute extends PageRouteInfo { RewardsHomePageRoute({ Key? key, required int? points, List? children, }) : super( RewardsHomePageRoute.name, args: RewardsHomePageRouteArgs( key: key, points: points, ), rawPathParams: {'points': points}, initialChildren: children, ); static const String name = 'RewardsHomePageRoute'; static const PageInfo page = PageInfo(name); } class RewardsHomePageRouteArgs { const RewardsHomePageRouteArgs({ this.key, required this.points, }); final Key? key; final int? points; @override String toString() { return 'RewardsHomePageRouteArgs{key: $key, points: $points}'; } } /// generated route for /// [RewardsListPage] class RewardsListPageRoute extends PageRouteInfo { const RewardsListPageRoute({List? children}) : super( RewardsListPageRoute.name, initialChildren: children, ); static const String name = 'RewardsListPageRoute'; static const PageInfo page = PageInfo(name); } /// generated route for /// [RewardsMyActivePage] class RewardsMyActivePageRoute extends PageRouteInfo { const RewardsMyActivePageRoute({List? children}) : super( RewardsMyActivePageRoute.name, initialChildren: children, ); static const String name = 'RewardsMyActivePageRoute'; static const PageInfo page = PageInfo(name); } /// generated route for /// [RewardsMyExpiredPage] class RewardsMyExpiredPageRoute extends PageRouteInfo { const RewardsMyExpiredPageRoute({List? children}) : super( RewardsMyExpiredPageRoute.name, initialChildren: children, ); static const String name = 'RewardsMyExpiredPageRoute'; static const PageInfo page = PageInfo(name); } /// generated route for /// [RewardsMyPage] class RewardsMyPageRoute extends PageRouteInfo { const RewardsMyPageRoute({List? children}) : super( RewardsMyPageRoute.name, initialChildren: children, ); static const String name = 'RewardsMyPageRoute'; static const PageInfo page = PageInfo(name); } /// generated route for /// [RewardsMyUsedPage] class RewardsMyUsedPageRoute extends PageRouteInfo { const RewardsMyUsedPageRoute({List? children}) : super( RewardsMyUsedPageRoute.name, initialChildren: children, ); static const String name = 'RewardsMyUsedPageRoute'; static const PageInfo page = PageInfo(name); } /// generated route for /// [RewardsPage] class RewardsPageRoute extends PageRouteInfo { const RewardsPageRoute({List? children}) : super( RewardsPageRoute.name, initialChildren: children, ); static const String name = 'RewardsPageRoute'; static const PageInfo page = PageInfo(name); } /// generated route for /// [RewardsRedeemPage] class RewardsRedeemPageRoute extends PageRouteInfo { RewardsRedeemPageRoute({ Key? key, required int? id, List? children, }) : super( RewardsRedeemPageRoute.name, args: RewardsRedeemPageRouteArgs( key: key, id: id, ), rawPathParams: {'id': id}, initialChildren: children, ); static const String name = 'RewardsRedeemPageRoute'; static const PageInfo page = PageInfo(name); } class RewardsRedeemPageRouteArgs { const RewardsRedeemPageRouteArgs({ this.key, required this.id, }); final Key? key; final int? id; @override String toString() { return 'RewardsRedeemPageRouteArgs{key: $key, id: $id}'; } } /// generated route for /// [RewardsSearchPage] class RewardsSearchPageRoute extends PageRouteInfo { const RewardsSearchPageRoute({List? children}) : super( RewardsSearchPageRoute.name, initialChildren: children, ); static const String name = 'RewardsSearchPageRoute'; static const PageInfo page = PageInfo(name); } /// generated route for /// [RewardsSuccessfulPage] class RewardsSuccessfulPageRoute extends PageRouteInfo { RewardsSuccessfulPageRoute({ Key? key, required int? amount, required String? title, required String? resources, required String? redeemedDate, required String? createdAt, List? children, }) : super( RewardsSuccessfulPageRoute.name, args: RewardsSuccessfulPageRouteArgs( key: key, amount: amount, title: title, resources: resources, redeemedDate: redeemedDate, createdAt: createdAt, ), rawPathParams: { 'amount': amount, 'title': title, 'resources': resources, 'redeemedDate': redeemedDate, 'createdAt': createdAt, }, initialChildren: children, ); static const String name = 'RewardsSuccessfulPageRoute'; static const PageInfo page = PageInfo(name); } class RewardsSuccessfulPageRouteArgs { const RewardsSuccessfulPageRouteArgs({ this.key, required this.amount, required this.title, required this.resources, required this.redeemedDate, required this.createdAt, }); final Key? key; final int? amount; final String? title; final String? resources; final String? redeemedDate; final String? createdAt; @override String toString() { return 'RewardsSuccessfulPageRouteArgs{key: $key, amount: $amount, title: $title, resources: $resources, redeemedDate: $redeemedDate, createdAt: $createdAt}'; } } /// generated route for /// [RewardsTransactionPage] class RewardsTransactionPageRoute extends PageRouteInfo { RewardsTransactionPageRoute({ Key? key, required int? id, required String? type, List? children, }) : super( RewardsTransactionPageRoute.name, args: RewardsTransactionPageRouteArgs( key: key, id: id, type: type, ), rawPathParams: { 'id': id, 'type': type, }, initialChildren: children, ); static const String name = 'RewardsTransactionPageRoute'; static const PageInfo page = PageInfo(name); } class RewardsTransactionPageRouteArgs { const RewardsTransactionPageRouteArgs({ this.key, required this.id, required this.type, }); final Key? key; final int? id; final String? type; @override String toString() { return 'RewardsTransactionPageRouteArgs{key: $key, id: $id, type: $type}'; } }