facility_page_router.gr.dart 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287
  1. // GENERATED CODE - DO NOT MODIFY BY HAND
  2. // **************************************************************************
  3. // AutoRouterGenerator
  4. // **************************************************************************
  5. // ignore_for_file: type=lint
  6. // coverage:ignore-file
  7. part of 'facility_page_router.dart';
  8. abstract class _$FacilityPageRouter extends RootStackRouter {
  9. // ignore: unused_element
  10. _$FacilityPageRouter({super.navigatorKey});
  11. @override
  12. final Map<String, PageFactory> pagesMap = {
  13. BookConfirmPageRoute.name: (routeData) {
  14. return AutoRoutePage<dynamic>(
  15. routeData: routeData,
  16. child: const BookConfirmPage(),
  17. );
  18. },
  19. FacilityActivePageRoute.name: (routeData) {
  20. return AutoRoutePage<dynamic>(
  21. routeData: routeData,
  22. child: FacilityActiveScreen(),
  23. );
  24. },
  25. FacilityBookPageRoute.name: (routeData) {
  26. return AutoRoutePage<dynamic>(
  27. routeData: routeData,
  28. child: FacilityBookScreen(),
  29. );
  30. },
  31. FacilityBookingPageRoute.name: (routeData) {
  32. final args = routeData.argsAs<FacilityBookingPageRouteArgs>();
  33. return AutoRoutePage<dynamic>(
  34. routeData: routeData,
  35. child: FacilityBookingPage(
  36. key: args.key,
  37. facilityEntity: args.facilityEntity,
  38. ),
  39. );
  40. },
  41. FacilityDepositPageRoute.name: (routeData) {
  42. return AutoRoutePage<dynamic>(
  43. routeData: routeData,
  44. child: FacilityDepositScreen(),
  45. );
  46. },
  47. FacilityDetailPageRoute.name: (routeData) {
  48. final args = routeData.argsAs<FacilityDetailPageRouteArgs>();
  49. return AutoRoutePage<dynamic>(
  50. routeData: routeData,
  51. child: FacilityDetailPage(
  52. key: args.key,
  53. bookingId: args.bookingId,
  54. ),
  55. );
  56. },
  57. FacilityHistoryPageRoute.name: (routeData) {
  58. return AutoRoutePage<dynamic>(
  59. routeData: routeData,
  60. child: FacilityHistoryScreen(),
  61. );
  62. },
  63. FacilityLocationPageRoute.name: (routeData) {
  64. final args = routeData.argsAs<FacilityLocationPageRouteArgs>();
  65. return AutoRoutePage<dynamic>(
  66. routeData: routeData,
  67. child: FacilityLocationPage(
  68. key: args.key,
  69. imageUrls: args.imageUrls,
  70. ),
  71. );
  72. },
  73. FacilityPageRoute.name: (routeData) {
  74. return AutoRoutePage<dynamic>(
  75. routeData: routeData,
  76. child: const FacilityPage(),
  77. );
  78. },
  79. };
  80. }
  81. /// generated route for
  82. /// [BookConfirmPage]
  83. class BookConfirmPageRoute extends PageRouteInfo<void> {
  84. const BookConfirmPageRoute({List<PageRouteInfo>? children})
  85. : super(
  86. BookConfirmPageRoute.name,
  87. initialChildren: children,
  88. );
  89. static const String name = 'BookConfirmPageRoute';
  90. static const PageInfo<void> page = PageInfo<void>(name);
  91. }
  92. /// generated route for
  93. /// [FacilityActiveScreen]
  94. class FacilityActivePageRoute extends PageRouteInfo<void> {
  95. const FacilityActivePageRoute({List<PageRouteInfo>? children})
  96. : super(
  97. FacilityActivePageRoute.name,
  98. initialChildren: children,
  99. );
  100. static const String name = 'FacilityActivePageRoute';
  101. static const PageInfo<void> page = PageInfo<void>(name);
  102. }
  103. /// generated route for
  104. /// [FacilityBookScreen]
  105. class FacilityBookPageRoute extends PageRouteInfo<void> {
  106. const FacilityBookPageRoute({List<PageRouteInfo>? children})
  107. : super(
  108. FacilityBookPageRoute.name,
  109. initialChildren: children,
  110. );
  111. static const String name = 'FacilityBookPageRoute';
  112. static const PageInfo<void> page = PageInfo<void>(name);
  113. }
  114. /// generated route for
  115. /// [FacilityBookingPage]
  116. class FacilityBookingPageRoute
  117. extends PageRouteInfo<FacilityBookingPageRouteArgs> {
  118. FacilityBookingPageRoute({
  119. Key? key,
  120. required FacilityIndexEntity facilityEntity,
  121. List<PageRouteInfo>? children,
  122. }) : super(
  123. FacilityBookingPageRoute.name,
  124. args: FacilityBookingPageRouteArgs(
  125. key: key,
  126. facilityEntity: facilityEntity,
  127. ),
  128. initialChildren: children,
  129. );
  130. static const String name = 'FacilityBookingPageRoute';
  131. static const PageInfo<FacilityBookingPageRouteArgs> page =
  132. PageInfo<FacilityBookingPageRouteArgs>(name);
  133. }
  134. class FacilityBookingPageRouteArgs {
  135. const FacilityBookingPageRouteArgs({
  136. this.key,
  137. required this.facilityEntity,
  138. });
  139. final Key? key;
  140. final FacilityIndexEntity facilityEntity;
  141. @override
  142. String toString() {
  143. return 'FacilityBookingPageRouteArgs{key: $key, facilityEntity: $facilityEntity}';
  144. }
  145. }
  146. /// generated route for
  147. /// [FacilityDepositScreen]
  148. class FacilityDepositPageRoute extends PageRouteInfo<void> {
  149. const FacilityDepositPageRoute({List<PageRouteInfo>? children})
  150. : super(
  151. FacilityDepositPageRoute.name,
  152. initialChildren: children,
  153. );
  154. static const String name = 'FacilityDepositPageRoute';
  155. static const PageInfo<void> page = PageInfo<void>(name);
  156. }
  157. /// generated route for
  158. /// [FacilityDetailPage]
  159. class FacilityDetailPageRoute
  160. extends PageRouteInfo<FacilityDetailPageRouteArgs> {
  161. FacilityDetailPageRoute({
  162. Key? key,
  163. required String? bookingId,
  164. List<PageRouteInfo>? children,
  165. }) : super(
  166. FacilityDetailPageRoute.name,
  167. args: FacilityDetailPageRouteArgs(
  168. key: key,
  169. bookingId: bookingId,
  170. ),
  171. initialChildren: children,
  172. );
  173. static const String name = 'FacilityDetailPageRoute';
  174. static const PageInfo<FacilityDetailPageRouteArgs> page =
  175. PageInfo<FacilityDetailPageRouteArgs>(name);
  176. }
  177. class FacilityDetailPageRouteArgs {
  178. const FacilityDetailPageRouteArgs({
  179. this.key,
  180. required this.bookingId,
  181. });
  182. final Key? key;
  183. final String? bookingId;
  184. @override
  185. String toString() {
  186. return 'FacilityDetailPageRouteArgs{key: $key, bookingId: $bookingId}';
  187. }
  188. }
  189. /// generated route for
  190. /// [FacilityHistoryScreen]
  191. class FacilityHistoryPageRoute extends PageRouteInfo<void> {
  192. const FacilityHistoryPageRoute({List<PageRouteInfo>? children})
  193. : super(
  194. FacilityHistoryPageRoute.name,
  195. initialChildren: children,
  196. );
  197. static const String name = 'FacilityHistoryPageRoute';
  198. static const PageInfo<void> page = PageInfo<void>(name);
  199. }
  200. /// generated route for
  201. /// [FacilityLocationPage]
  202. class FacilityLocationPageRoute
  203. extends PageRouteInfo<FacilityLocationPageRouteArgs> {
  204. FacilityLocationPageRoute({
  205. Key? key,
  206. required List<String> imageUrls,
  207. List<PageRouteInfo>? children,
  208. }) : super(
  209. FacilityLocationPageRoute.name,
  210. args: FacilityLocationPageRouteArgs(
  211. key: key,
  212. imageUrls: imageUrls,
  213. ),
  214. initialChildren: children,
  215. );
  216. static const String name = 'FacilityLocationPageRoute';
  217. static const PageInfo<FacilityLocationPageRouteArgs> page =
  218. PageInfo<FacilityLocationPageRouteArgs>(name);
  219. }
  220. class FacilityLocationPageRouteArgs {
  221. const FacilityLocationPageRouteArgs({
  222. this.key,
  223. required this.imageUrls,
  224. });
  225. final Key? key;
  226. final List<String> imageUrls;
  227. @override
  228. String toString() {
  229. return 'FacilityLocationPageRouteArgs{key: $key, imageUrls: $imageUrls}';
  230. }
  231. }
  232. /// generated route for
  233. /// [FacilityPage]
  234. class FacilityPageRoute extends PageRouteInfo<void> {
  235. const FacilityPageRoute({List<PageRouteInfo>? children})
  236. : super(
  237. FacilityPageRoute.name,
  238. initialChildren: children,
  239. );
  240. static const String name = 'FacilityPageRoute';
  241. static const PageInfo<void> page = PageInfo<void>(name);
  242. }