services_page_router.gr.dart 19 KB

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