services_page_router.gr.dart 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705
  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 'services_page_router.dart';
  8. abstract class _$ServicesPageRouter extends RootStackRouter {
  9. // ignore: unused_element
  10. _$ServicesPageRouter({super.navigatorKey});
  11. @override
  12. final Map<String, PageFactory> pagesMap = {
  13. CleanOrderCancelSuccessPageRoute.name: (routeData) {
  14. return AutoRoutePage<dynamic>(
  15. routeData: routeData,
  16. child: const CleanOrderCancelSuccessPage(),
  17. );
  18. },
  19. CleanOrderDetailPageRoute.name: (routeData) {
  20. final pathParams = routeData.inheritedPathParams;
  21. final args = routeData.argsAs<CleanOrderDetailPageRouteArgs>(
  22. orElse: () => CleanOrderDetailPageRouteArgs(
  23. id: pathParams.getInt('id'),
  24. cleanServiceType: pathParams.getString('cleanServiceType'),
  25. serviesStatusCode: pathParams.getInt('serviesStatusCode'),
  26. ));
  27. return AutoRoutePage<dynamic>(
  28. routeData: routeData,
  29. child: CleanOrderDetailPage(
  30. key: args.key,
  31. id: args.id,
  32. cleanServiceType: args.cleanServiceType,
  33. serviesStatusCode: args.serviesStatusCode,
  34. ),
  35. );
  36. },
  37. EvaluateCreateSuccessPageRoute.name: (routeData) {
  38. return AutoRoutePage<dynamic>(
  39. routeData: routeData,
  40. child: const EvaluateCreateSuccessPage(),
  41. );
  42. },
  43. HistoryPageRoute.name: (routeData) {
  44. return AutoRoutePage<dynamic>(
  45. routeData: routeData,
  46. child: const HistoryPage(),
  47. );
  48. },
  49. HomeServicePageRoute.name: (routeData) {
  50. return AutoRoutePage<dynamic>(
  51. routeData: routeData,
  52. child: const HomeServicePage(),
  53. );
  54. },
  55. InProgressPageRoute.name: (routeData) {
  56. return AutoRoutePage<dynamic>(
  57. routeData: routeData,
  58. child: const InProgressPage(),
  59. );
  60. },
  61. RepairHistoryPageRoute.name: (routeData) {
  62. return AutoRoutePage<dynamic>(
  63. routeData: routeData,
  64. child: const RepairHistoryPage(),
  65. );
  66. },
  67. RepairHomeServicePageRoute.name: (routeData) {
  68. return AutoRoutePage<dynamic>(
  69. routeData: routeData,
  70. child: const RepairHomeServicePage(),
  71. );
  72. },
  73. RepairInProgressPageRoute.name: (routeData) {
  74. return AutoRoutePage<dynamic>(
  75. routeData: routeData,
  76. child: const RepairInProgressPage(),
  77. );
  78. },
  79. RepairPageRoute.name: (routeData) {
  80. final args = routeData.argsAs<RepairPageRouteArgs>();
  81. return AutoRoutePage<dynamic>(
  82. routeData: routeData,
  83. child: RepairPage(
  84. key: args.key,
  85. parentCategoryId: args.parentCategoryId,
  86. ),
  87. );
  88. },
  89. ServiceCleanDetailPageRoute.name: (routeData) {
  90. final args = routeData.argsAs<ServiceCleanDetailPageRouteArgs>();
  91. return AutoRoutePage<dynamic>(
  92. routeData: routeData,
  93. child: ServiceCleanDetailPage(
  94. key: args.key,
  95. id: args.id,
  96. cleanServiceType: args.cleanServiceType,
  97. liked: args.liked,
  98. likesCount: args.likesCount,
  99. ),
  100. );
  101. },
  102. ServiceEvaluateCreatePageRoute.name: (routeData) {
  103. final args = routeData.argsAs<ServiceEvaluateCreatePageRouteArgs>();
  104. return AutoRoutePage<dynamic>(
  105. routeData: routeData,
  106. child: ServiceEvaluateCreatePage(
  107. key: args.key,
  108. id: args.id,
  109. cleanServiceType: args.cleanServiceType,
  110. ),
  111. );
  112. },
  113. ServiceEvaluateListPageRoute.name: (routeData) {
  114. final args = routeData.argsAs<ServiceEvaluateListPageRouteArgs>();
  115. return AutoRoutePage<dynamic>(
  116. routeData: routeData,
  117. child: ServiceEvaluateListPage(
  118. key: args.key,
  119. id: args.id,
  120. cleanServiceType: args.cleanServiceType,
  121. ),
  122. );
  123. },
  124. ServiceOrderConfirmPageRoute.name: (routeData) {
  125. final args = routeData.argsAs<ServiceOrderConfirmPageRouteArgs>();
  126. return AutoRoutePage<dynamic>(
  127. routeData: routeData,
  128. child: ServiceOrderConfirmPage(
  129. key: args.key,
  130. id: args.id,
  131. cleanServiceType: args.cleanServiceType,
  132. ),
  133. );
  134. },
  135. ServicePaySuccessPageRoute.name: (routeData) {
  136. return AutoRoutePage<dynamic>(
  137. routeData: routeData,
  138. child: const ServicePaySuccessPage(),
  139. );
  140. },
  141. ServiceRepairDetailPageRoute.name: (routeData) {
  142. final pathParams = routeData.inheritedPathParams;
  143. final args = routeData.argsAs<ServiceRepairDetailPageRouteArgs>(
  144. orElse: () => ServiceRepairDetailPageRouteArgs(
  145. id: pathParams.getInt('id'),
  146. cleanServiceType: pathParams.optString('cleanServiceType'),
  147. ));
  148. return AutoRoutePage<dynamic>(
  149. routeData: routeData,
  150. child: ServiceRepairDetailPage(
  151. key: args.key,
  152. id: args.id,
  153. cleanServiceType: args.cleanServiceType,
  154. ),
  155. );
  156. },
  157. ServicesMainPageRoute.name: (routeData) {
  158. final args = routeData.argsAs<ServicesMainPageRouteArgs>(
  159. orElse: () => const ServicesMainPageRouteArgs());
  160. return AutoRoutePage<dynamic>(
  161. routeData: routeData,
  162. child: ServicesMainPage(key: args.key),
  163. );
  164. },
  165. ServicesPageRoute.name: (routeData) {
  166. final args = routeData.argsAs<ServicesPageRouteArgs>();
  167. return AutoRoutePage<dynamic>(
  168. routeData: routeData,
  169. child: ServicesPage(
  170. key: args.key,
  171. parentCategoryId: args.parentCategoryId,
  172. ),
  173. );
  174. },
  175. };
  176. }
  177. /// generated route for
  178. /// [CleanOrderCancelSuccessPage]
  179. class CleanOrderCancelSuccessPageRoute extends PageRouteInfo<void> {
  180. const CleanOrderCancelSuccessPageRoute({List<PageRouteInfo>? children})
  181. : super(
  182. CleanOrderCancelSuccessPageRoute.name,
  183. initialChildren: children,
  184. );
  185. static const String name = 'CleanOrderCancelSuccessPageRoute';
  186. static const PageInfo<void> page = PageInfo<void>(name);
  187. }
  188. /// generated route for
  189. /// [CleanOrderDetailPage]
  190. class CleanOrderDetailPageRoute
  191. extends PageRouteInfo<CleanOrderDetailPageRouteArgs> {
  192. CleanOrderDetailPageRoute({
  193. Key? key,
  194. required int id,
  195. required String cleanServiceType,
  196. required int serviesStatusCode,
  197. List<PageRouteInfo>? children,
  198. }) : super(
  199. CleanOrderDetailPageRoute.name,
  200. args: CleanOrderDetailPageRouteArgs(
  201. key: key,
  202. id: id,
  203. cleanServiceType: cleanServiceType,
  204. serviesStatusCode: serviesStatusCode,
  205. ),
  206. rawPathParams: {
  207. 'id': id,
  208. 'cleanServiceType': cleanServiceType,
  209. 'serviesStatusCode': serviesStatusCode,
  210. },
  211. initialChildren: children,
  212. );
  213. static const String name = 'CleanOrderDetailPageRoute';
  214. static const PageInfo<CleanOrderDetailPageRouteArgs> page =
  215. PageInfo<CleanOrderDetailPageRouteArgs>(name);
  216. }
  217. class CleanOrderDetailPageRouteArgs {
  218. const CleanOrderDetailPageRouteArgs({
  219. this.key,
  220. required this.id,
  221. required this.cleanServiceType,
  222. required this.serviesStatusCode,
  223. });
  224. final Key? key;
  225. final int id;
  226. final String cleanServiceType;
  227. final int serviesStatusCode;
  228. @override
  229. String toString() {
  230. return 'CleanOrderDetailPageRouteArgs{key: $key, id: $id, cleanServiceType: $cleanServiceType, serviesStatusCode: $serviesStatusCode}';
  231. }
  232. }
  233. /// generated route for
  234. /// [EvaluateCreateSuccessPage]
  235. class EvaluateCreateSuccessPageRoute extends PageRouteInfo<void> {
  236. const EvaluateCreateSuccessPageRoute({List<PageRouteInfo>? children})
  237. : super(
  238. EvaluateCreateSuccessPageRoute.name,
  239. initialChildren: children,
  240. );
  241. static const String name = 'EvaluateCreateSuccessPageRoute';
  242. static const PageInfo<void> page = PageInfo<void>(name);
  243. }
  244. /// generated route for
  245. /// [HistoryPage]
  246. class HistoryPageRoute extends PageRouteInfo<void> {
  247. const HistoryPageRoute({List<PageRouteInfo>? children})
  248. : super(
  249. HistoryPageRoute.name,
  250. initialChildren: children,
  251. );
  252. static const String name = 'HistoryPageRoute';
  253. static const PageInfo<void> page = PageInfo<void>(name);
  254. }
  255. /// generated route for
  256. /// [HomeServicePage]
  257. class HomeServicePageRoute extends PageRouteInfo<void> {
  258. const HomeServicePageRoute({List<PageRouteInfo>? children})
  259. : super(
  260. HomeServicePageRoute.name,
  261. initialChildren: children,
  262. );
  263. static const String name = 'HomeServicePageRoute';
  264. static const PageInfo<void> page = PageInfo<void>(name);
  265. }
  266. /// generated route for
  267. /// [InProgressPage]
  268. class InProgressPageRoute extends PageRouteInfo<void> {
  269. const InProgressPageRoute({List<PageRouteInfo>? children})
  270. : super(
  271. InProgressPageRoute.name,
  272. initialChildren: children,
  273. );
  274. static const String name = 'InProgressPageRoute';
  275. static const PageInfo<void> page = PageInfo<void>(name);
  276. }
  277. /// generated route for
  278. /// [RepairHistoryPage]
  279. class RepairHistoryPageRoute extends PageRouteInfo<void> {
  280. const RepairHistoryPageRoute({List<PageRouteInfo>? children})
  281. : super(
  282. RepairHistoryPageRoute.name,
  283. initialChildren: children,
  284. );
  285. static const String name = 'RepairHistoryPageRoute';
  286. static const PageInfo<void> page = PageInfo<void>(name);
  287. }
  288. /// generated route for
  289. /// [RepairHomeServicePage]
  290. class RepairHomeServicePageRoute extends PageRouteInfo<void> {
  291. const RepairHomeServicePageRoute({List<PageRouteInfo>? children})
  292. : super(
  293. RepairHomeServicePageRoute.name,
  294. initialChildren: children,
  295. );
  296. static const String name = 'RepairHomeServicePageRoute';
  297. static const PageInfo<void> page = PageInfo<void>(name);
  298. }
  299. /// generated route for
  300. /// [RepairInProgressPage]
  301. class RepairInProgressPageRoute extends PageRouteInfo<void> {
  302. const RepairInProgressPageRoute({List<PageRouteInfo>? children})
  303. : super(
  304. RepairInProgressPageRoute.name,
  305. initialChildren: children,
  306. );
  307. static const String name = 'RepairInProgressPageRoute';
  308. static const PageInfo<void> page = PageInfo<void>(name);
  309. }
  310. /// generated route for
  311. /// [RepairPage]
  312. class RepairPageRoute extends PageRouteInfo<RepairPageRouteArgs> {
  313. RepairPageRoute({
  314. Key? key,
  315. required int parentCategoryId,
  316. List<PageRouteInfo>? children,
  317. }) : super(
  318. RepairPageRoute.name,
  319. args: RepairPageRouteArgs(
  320. key: key,
  321. parentCategoryId: parentCategoryId,
  322. ),
  323. initialChildren: children,
  324. );
  325. static const String name = 'RepairPageRoute';
  326. static const PageInfo<RepairPageRouteArgs> page =
  327. PageInfo<RepairPageRouteArgs>(name);
  328. }
  329. class RepairPageRouteArgs {
  330. const RepairPageRouteArgs({
  331. this.key,
  332. required this.parentCategoryId,
  333. });
  334. final Key? key;
  335. final int parentCategoryId;
  336. @override
  337. String toString() {
  338. return 'RepairPageRouteArgs{key: $key, parentCategoryId: $parentCategoryId}';
  339. }
  340. }
  341. /// generated route for
  342. /// [ServiceCleanDetailPage]
  343. class ServiceCleanDetailPageRoute
  344. extends PageRouteInfo<ServiceCleanDetailPageRouteArgs> {
  345. ServiceCleanDetailPageRoute({
  346. Key? key,
  347. required int id,
  348. required String cleanServiceType,
  349. required bool liked,
  350. required int likesCount,
  351. List<PageRouteInfo>? children,
  352. }) : super(
  353. ServiceCleanDetailPageRoute.name,
  354. args: ServiceCleanDetailPageRouteArgs(
  355. key: key,
  356. id: id,
  357. cleanServiceType: cleanServiceType,
  358. liked: liked,
  359. likesCount: likesCount,
  360. ),
  361. rawPathParams: {
  362. 'id': id,
  363. 'cleanServiceType': cleanServiceType,
  364. },
  365. initialChildren: children,
  366. );
  367. static const String name = 'ServiceCleanDetailPageRoute';
  368. static const PageInfo<ServiceCleanDetailPageRouteArgs> page =
  369. PageInfo<ServiceCleanDetailPageRouteArgs>(name);
  370. }
  371. class ServiceCleanDetailPageRouteArgs {
  372. const ServiceCleanDetailPageRouteArgs({
  373. this.key,
  374. required this.id,
  375. required this.cleanServiceType,
  376. required this.liked,
  377. required this.likesCount,
  378. });
  379. final Key? key;
  380. final int id;
  381. final String cleanServiceType;
  382. final bool liked;
  383. final int likesCount;
  384. @override
  385. String toString() {
  386. return 'ServiceCleanDetailPageRouteArgs{key: $key, id: $id, cleanServiceType: $cleanServiceType, liked: $liked, likesCount: $likesCount}';
  387. }
  388. }
  389. /// generated route for
  390. /// [ServiceEvaluateCreatePage]
  391. class ServiceEvaluateCreatePageRoute
  392. extends PageRouteInfo<ServiceEvaluateCreatePageRouteArgs> {
  393. ServiceEvaluateCreatePageRoute({
  394. Key? key,
  395. required int id,
  396. required String cleanServiceType,
  397. List<PageRouteInfo>? children,
  398. }) : super(
  399. ServiceEvaluateCreatePageRoute.name,
  400. args: ServiceEvaluateCreatePageRouteArgs(
  401. key: key,
  402. id: id,
  403. cleanServiceType: cleanServiceType,
  404. ),
  405. initialChildren: children,
  406. );
  407. static const String name = 'ServiceEvaluateCreatePageRoute';
  408. static const PageInfo<ServiceEvaluateCreatePageRouteArgs> page =
  409. PageInfo<ServiceEvaluateCreatePageRouteArgs>(name);
  410. }
  411. class ServiceEvaluateCreatePageRouteArgs {
  412. const ServiceEvaluateCreatePageRouteArgs({
  413. this.key,
  414. required this.id,
  415. required this.cleanServiceType,
  416. });
  417. final Key? key;
  418. final int id;
  419. final String cleanServiceType;
  420. @override
  421. String toString() {
  422. return 'ServiceEvaluateCreatePageRouteArgs{key: $key, id: $id, cleanServiceType: $cleanServiceType}';
  423. }
  424. }
  425. /// generated route for
  426. /// [ServiceEvaluateListPage]
  427. class ServiceEvaluateListPageRoute
  428. extends PageRouteInfo<ServiceEvaluateListPageRouteArgs> {
  429. ServiceEvaluateListPageRoute({
  430. Key? key,
  431. required int id,
  432. required String cleanServiceType,
  433. List<PageRouteInfo>? children,
  434. }) : super(
  435. ServiceEvaluateListPageRoute.name,
  436. args: ServiceEvaluateListPageRouteArgs(
  437. key: key,
  438. id: id,
  439. cleanServiceType: cleanServiceType,
  440. ),
  441. initialChildren: children,
  442. );
  443. static const String name = 'ServiceEvaluateListPageRoute';
  444. static const PageInfo<ServiceEvaluateListPageRouteArgs> page =
  445. PageInfo<ServiceEvaluateListPageRouteArgs>(name);
  446. }
  447. class ServiceEvaluateListPageRouteArgs {
  448. const ServiceEvaluateListPageRouteArgs({
  449. this.key,
  450. required this.id,
  451. required this.cleanServiceType,
  452. });
  453. final Key? key;
  454. final int id;
  455. final String cleanServiceType;
  456. @override
  457. String toString() {
  458. return 'ServiceEvaluateListPageRouteArgs{key: $key, id: $id, cleanServiceType: $cleanServiceType}';
  459. }
  460. }
  461. /// generated route for
  462. /// [ServiceOrderConfirmPage]
  463. class ServiceOrderConfirmPageRoute
  464. extends PageRouteInfo<ServiceOrderConfirmPageRouteArgs> {
  465. ServiceOrderConfirmPageRoute({
  466. Key? key,
  467. required int id,
  468. required String cleanServiceType,
  469. List<PageRouteInfo>? children,
  470. }) : super(
  471. ServiceOrderConfirmPageRoute.name,
  472. args: ServiceOrderConfirmPageRouteArgs(
  473. key: key,
  474. id: id,
  475. cleanServiceType: cleanServiceType,
  476. ),
  477. initialChildren: children,
  478. );
  479. static const String name = 'ServiceOrderConfirmPageRoute';
  480. static const PageInfo<ServiceOrderConfirmPageRouteArgs> page =
  481. PageInfo<ServiceOrderConfirmPageRouteArgs>(name);
  482. }
  483. class ServiceOrderConfirmPageRouteArgs {
  484. const ServiceOrderConfirmPageRouteArgs({
  485. this.key,
  486. required this.id,
  487. required this.cleanServiceType,
  488. });
  489. final Key? key;
  490. final int id;
  491. final String cleanServiceType;
  492. @override
  493. String toString() {
  494. return 'ServiceOrderConfirmPageRouteArgs{key: $key, id: $id, cleanServiceType: $cleanServiceType}';
  495. }
  496. }
  497. /// generated route for
  498. /// [ServicePaySuccessPage]
  499. class ServicePaySuccessPageRoute extends PageRouteInfo<void> {
  500. const ServicePaySuccessPageRoute({List<PageRouteInfo>? children})
  501. : super(
  502. ServicePaySuccessPageRoute.name,
  503. initialChildren: children,
  504. );
  505. static const String name = 'ServicePaySuccessPageRoute';
  506. static const PageInfo<void> page = PageInfo<void>(name);
  507. }
  508. /// generated route for
  509. /// [ServiceRepairDetailPage]
  510. class ServiceRepairDetailPageRoute
  511. extends PageRouteInfo<ServiceRepairDetailPageRouteArgs> {
  512. ServiceRepairDetailPageRoute({
  513. Key? key,
  514. required int id,
  515. required String? cleanServiceType,
  516. List<PageRouteInfo>? children,
  517. }) : super(
  518. ServiceRepairDetailPageRoute.name,
  519. args: ServiceRepairDetailPageRouteArgs(
  520. key: key,
  521. id: id,
  522. cleanServiceType: cleanServiceType,
  523. ),
  524. rawPathParams: {
  525. 'id': id,
  526. 'cleanServiceType': cleanServiceType,
  527. },
  528. initialChildren: children,
  529. );
  530. static const String name = 'ServiceRepairDetailPageRoute';
  531. static const PageInfo<ServiceRepairDetailPageRouteArgs> page =
  532. PageInfo<ServiceRepairDetailPageRouteArgs>(name);
  533. }
  534. class ServiceRepairDetailPageRouteArgs {
  535. const ServiceRepairDetailPageRouteArgs({
  536. this.key,
  537. required this.id,
  538. required this.cleanServiceType,
  539. });
  540. final Key? key;
  541. final int id;
  542. final String? cleanServiceType;
  543. @override
  544. String toString() {
  545. return 'ServiceRepairDetailPageRouteArgs{key: $key, id: $id, cleanServiceType: $cleanServiceType}';
  546. }
  547. }
  548. /// generated route for
  549. /// [ServicesMainPage]
  550. class ServicesMainPageRoute extends PageRouteInfo<ServicesMainPageRouteArgs> {
  551. ServicesMainPageRoute({
  552. Key? key,
  553. List<PageRouteInfo>? children,
  554. }) : super(
  555. ServicesMainPageRoute.name,
  556. args: ServicesMainPageRouteArgs(key: key),
  557. initialChildren: children,
  558. );
  559. static const String name = 'ServicesMainPageRoute';
  560. static const PageInfo<ServicesMainPageRouteArgs> page =
  561. PageInfo<ServicesMainPageRouteArgs>(name);
  562. }
  563. class ServicesMainPageRouteArgs {
  564. const ServicesMainPageRouteArgs({this.key});
  565. final Key? key;
  566. @override
  567. String toString() {
  568. return 'ServicesMainPageRouteArgs{key: $key}';
  569. }
  570. }
  571. /// generated route for
  572. /// [ServicesPage]
  573. class ServicesPageRoute extends PageRouteInfo<ServicesPageRouteArgs> {
  574. ServicesPageRoute({
  575. Key? key,
  576. required int parentCategoryId,
  577. List<PageRouteInfo>? children,
  578. }) : super(
  579. ServicesPageRoute.name,
  580. args: ServicesPageRouteArgs(
  581. key: key,
  582. parentCategoryId: parentCategoryId,
  583. ),
  584. initialChildren: children,
  585. );
  586. static const String name = 'ServicesPageRoute';
  587. static const PageInfo<ServicesPageRouteArgs> page =
  588. PageInfo<ServicesPageRouteArgs>(name);
  589. }
  590. class ServicesPageRouteArgs {
  591. const ServicesPageRouteArgs({
  592. this.key,
  593. required this.parentCategoryId,
  594. });
  595. final Key? key;
  596. final int parentCategoryId;
  597. @override
  598. String toString() {
  599. return 'ServicesPageRouteArgs{key: $key, parentCategoryId: $parentCategoryId}';
  600. }
  601. }