app_router.gr.dart 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888
  1. // GENERATED CODE - DO NOT MODIFY BY HAND
  2. // **************************************************************************
  3. // AutoRouterGenerator
  4. // **************************************************************************
  5. // ignore_for_file: type=lint
  6. // coverage:ignore-file
  7. // ignore_for_file: no_leading_underscores_for_library_prefixes
  8. import 'dart:async' as _i27;
  9. import 'package:auto_route/auto_route.dart' as _i21;
  10. import 'package:eitc_erm_dental_flutter/entity/clinic_info.dart' as _i26;
  11. import 'package:eitc_erm_dental_flutter/entity/db/local_patient_info.dart'
  12. as _i24;
  13. import 'package:eitc_erm_dental_flutter/entity/history_item_info.dart' as _i25;
  14. import 'package:eitc_erm_dental_flutter/pages/consultation/online_consultation_page.dart'
  15. as _i7;
  16. import 'package:eitc_erm_dental_flutter/pages/history/history_page.dart' as _i4;
  17. import 'package:eitc_erm_dental_flutter/pages/history/photo_view_page.dart'
  18. as _i11;
  19. import 'package:eitc_erm_dental_flutter/pages/history/select_history_page.dart'
  20. as _i12;
  21. import 'package:eitc_erm_dental_flutter/pages/history/video_player_page.dart'
  22. as _i17;
  23. import 'package:eitc_erm_dental_flutter/pages/login/login_page.dart' as _i5;
  24. import 'package:eitc_erm_dental_flutter/pages/main/main_page.dart' as _i6;
  25. import 'package:eitc_erm_dental_flutter/pages/patient/add_patient_page.dart'
  26. as _i1;
  27. import 'package:eitc_erm_dental_flutter/pages/patient/patient_list_page.dart'
  28. as _i9;
  29. import 'package:eitc_erm_dental_flutter/pages/settings/delay_shot_settings_page.dart'
  30. as _i2;
  31. import 'package:eitc_erm_dental_flutter/pages/settings/faqs_page.dart' as _i3;
  32. import 'package:eitc_erm_dental_flutter/pages/settings/settings_page.dart'
  33. as _i13;
  34. import 'package:eitc_erm_dental_flutter/pages/splash/splash_page.dart' as _i14;
  35. import 'package:eitc_erm_dental_flutter/pages/upload/upload_page.dart' as _i15;
  36. import 'package:eitc_erm_dental_flutter/pages/upload/upload_select_clinic_page.dart'
  37. as _i16;
  38. import 'package:eitc_erm_dental_flutter/pages/view/online_picture_view_page.dart'
  39. as _i8;
  40. import 'package:eitc_erm_dental_flutter/pages/view/photo_preview_page.dart'
  41. as _i10;
  42. import 'package:eitc_erm_dental_flutter/pages/view/video_preview_page.dart'
  43. as _i18;
  44. import 'package:eitc_erm_dental_flutter/pages/view/video_view_page.dart'
  45. as _i19;
  46. import 'package:eitc_erm_dental_flutter/pages/web/webview_page.dart' as _i20;
  47. import 'package:flutter/foundation.dart' as _i22;
  48. import 'package:flutter/material.dart' as _i23;
  49. import 'package:retrofit/dio.dart' as _i28;
  50. /// generated route for
  51. /// [_i1.AddPatientPage]
  52. class AddPatientRoute extends _i21.PageRouteInfo<void> {
  53. const AddPatientRoute({List<_i21.PageRouteInfo>? children})
  54. : super(
  55. AddPatientRoute.name,
  56. initialChildren: children,
  57. );
  58. static const String name = 'AddPatientRoute';
  59. static _i21.PageInfo page = _i21.PageInfo(
  60. name,
  61. builder: (data) {
  62. return const _i1.AddPatientPage();
  63. },
  64. );
  65. }
  66. /// generated route for
  67. /// [_i2.DelayShotSettingsPage]
  68. class DelayShotSettingsRoute extends _i21.PageRouteInfo<void> {
  69. const DelayShotSettingsRoute({List<_i21.PageRouteInfo>? children})
  70. : super(
  71. DelayShotSettingsRoute.name,
  72. initialChildren: children,
  73. );
  74. static const String name = 'DelayShotSettingsRoute';
  75. static _i21.PageInfo page = _i21.PageInfo(
  76. name,
  77. builder: (data) {
  78. return const _i2.DelayShotSettingsPage();
  79. },
  80. );
  81. }
  82. /// generated route for
  83. /// [_i3.FaqsPage]
  84. class FaqsRoute extends _i21.PageRouteInfo<void> {
  85. const FaqsRoute({List<_i21.PageRouteInfo>? children})
  86. : super(
  87. FaqsRoute.name,
  88. initialChildren: children,
  89. );
  90. static const String name = 'FaqsRoute';
  91. static _i21.PageInfo page = _i21.PageInfo(
  92. name,
  93. builder: (data) {
  94. return const _i3.FaqsPage();
  95. },
  96. );
  97. }
  98. /// generated route for
  99. /// [_i4.HistoryPage]
  100. class HistoryRoute extends _i21.PageRouteInfo<void> {
  101. const HistoryRoute({List<_i21.PageRouteInfo>? children})
  102. : super(
  103. HistoryRoute.name,
  104. initialChildren: children,
  105. );
  106. static const String name = 'HistoryRoute';
  107. static _i21.PageInfo page = _i21.PageInfo(
  108. name,
  109. builder: (data) {
  110. return const _i4.HistoryPage();
  111. },
  112. );
  113. }
  114. /// generated route for
  115. /// [_i5.LoginPage]
  116. class LoginRoute extends _i21.PageRouteInfo<LoginRouteArgs> {
  117. LoginRoute({
  118. _i22.Key? key,
  119. required bool cancelable,
  120. List<_i21.PageRouteInfo>? children,
  121. }) : super(
  122. LoginRoute.name,
  123. args: LoginRouteArgs(
  124. key: key,
  125. cancelable: cancelable,
  126. ),
  127. initialChildren: children,
  128. );
  129. static const String name = 'LoginRoute';
  130. static _i21.PageInfo page = _i21.PageInfo(
  131. name,
  132. builder: (data) {
  133. final args = data.argsAs<LoginRouteArgs>();
  134. return _i5.LoginPage(
  135. key: args.key,
  136. cancelable: args.cancelable,
  137. );
  138. },
  139. );
  140. }
  141. class LoginRouteArgs {
  142. const LoginRouteArgs({
  143. this.key,
  144. required this.cancelable,
  145. });
  146. final _i22.Key? key;
  147. final bool cancelable;
  148. @override
  149. String toString() {
  150. return 'LoginRouteArgs{key: $key, cancelable: $cancelable}';
  151. }
  152. }
  153. /// generated route for
  154. /// [_i6.MainPage]
  155. class MainRoute extends _i21.PageRouteInfo<void> {
  156. const MainRoute({List<_i21.PageRouteInfo>? children})
  157. : super(
  158. MainRoute.name,
  159. initialChildren: children,
  160. );
  161. static const String name = 'MainRoute';
  162. static _i21.PageInfo page = _i21.PageInfo(
  163. name,
  164. builder: (data) {
  165. return const _i6.MainPage();
  166. },
  167. );
  168. }
  169. /// generated route for
  170. /// [_i7.OnlineConsultationPage]
  171. class OnlineConsultationRoute
  172. extends _i21.PageRouteInfo<OnlineConsultationRouteArgs> {
  173. OnlineConsultationRoute({
  174. _i22.Key? key,
  175. required String url,
  176. bool backAlert = false,
  177. List<_i21.PageRouteInfo>? children,
  178. }) : super(
  179. OnlineConsultationRoute.name,
  180. args: OnlineConsultationRouteArgs(
  181. key: key,
  182. url: url,
  183. backAlert: backAlert,
  184. ),
  185. initialChildren: children,
  186. );
  187. static const String name = 'OnlineConsultationRoute';
  188. static _i21.PageInfo page = _i21.PageInfo(
  189. name,
  190. builder: (data) {
  191. final args = data.argsAs<OnlineConsultationRouteArgs>();
  192. return _i7.OnlineConsultationPage(
  193. key: args.key,
  194. url: args.url,
  195. backAlert: args.backAlert,
  196. );
  197. },
  198. );
  199. }
  200. class OnlineConsultationRouteArgs {
  201. const OnlineConsultationRouteArgs({
  202. this.key,
  203. required this.url,
  204. this.backAlert = false,
  205. });
  206. final _i22.Key? key;
  207. final String url;
  208. final bool backAlert;
  209. @override
  210. String toString() {
  211. return 'OnlineConsultationRouteArgs{key: $key, url: $url, backAlert: $backAlert}';
  212. }
  213. }
  214. /// generated route for
  215. /// [_i8.OnlinePictureViewPage]
  216. class OnlinePictureViewRoute
  217. extends _i21.PageRouteInfo<OnlinePictureViewRouteArgs> {
  218. OnlinePictureViewRoute({
  219. _i23.Key? key,
  220. required String url,
  221. List<_i21.PageRouteInfo>? children,
  222. }) : super(
  223. OnlinePictureViewRoute.name,
  224. args: OnlinePictureViewRouteArgs(
  225. key: key,
  226. url: url,
  227. ),
  228. initialChildren: children,
  229. );
  230. static const String name = 'OnlinePictureViewRoute';
  231. static _i21.PageInfo page = _i21.PageInfo(
  232. name,
  233. builder: (data) {
  234. final args = data.argsAs<OnlinePictureViewRouteArgs>();
  235. return _i8.OnlinePictureViewPage(
  236. key: args.key,
  237. url: args.url,
  238. );
  239. },
  240. );
  241. }
  242. class OnlinePictureViewRouteArgs {
  243. const OnlinePictureViewRouteArgs({
  244. this.key,
  245. required this.url,
  246. });
  247. final _i23.Key? key;
  248. final String url;
  249. @override
  250. String toString() {
  251. return 'OnlinePictureViewRouteArgs{key: $key, url: $url}';
  252. }
  253. }
  254. /// generated route for
  255. /// [_i9.PatientListPage]
  256. class PatientListRoute extends _i21.PageRouteInfo<PatientListRouteArgs> {
  257. PatientListRoute({
  258. _i23.Key? key,
  259. bool selectable = true,
  260. List<_i21.PageRouteInfo>? children,
  261. }) : super(
  262. PatientListRoute.name,
  263. args: PatientListRouteArgs(
  264. key: key,
  265. selectable: selectable,
  266. ),
  267. initialChildren: children,
  268. );
  269. static const String name = 'PatientListRoute';
  270. static _i21.PageInfo page = _i21.PageInfo(
  271. name,
  272. builder: (data) {
  273. final args = data.argsAs<PatientListRouteArgs>(
  274. orElse: () => const PatientListRouteArgs());
  275. return _i9.PatientListPage(
  276. key: args.key,
  277. selectable: args.selectable,
  278. );
  279. },
  280. );
  281. }
  282. class PatientListRouteArgs {
  283. const PatientListRouteArgs({
  284. this.key,
  285. this.selectable = true,
  286. });
  287. final _i23.Key? key;
  288. final bool selectable;
  289. @override
  290. String toString() {
  291. return 'PatientListRouteArgs{key: $key, selectable: $selectable}';
  292. }
  293. }
  294. /// generated route for
  295. /// [_i10.PhotoPreviewPage]
  296. class PhotoPreviewRoute extends _i21.PageRouteInfo<PhotoPreviewRouteArgs> {
  297. PhotoPreviewRoute({
  298. _i23.Key? key,
  299. required _i24.LocalPatientInfo info,
  300. required String path,
  301. required String area,
  302. required DateTime time,
  303. required String mobile,
  304. required String deviceModel,
  305. required String wifi,
  306. List<_i21.PageRouteInfo>? children,
  307. }) : super(
  308. PhotoPreviewRoute.name,
  309. args: PhotoPreviewRouteArgs(
  310. key: key,
  311. info: info,
  312. path: path,
  313. area: area,
  314. time: time,
  315. mobile: mobile,
  316. deviceModel: deviceModel,
  317. wifi: wifi,
  318. ),
  319. initialChildren: children,
  320. );
  321. static const String name = 'PhotoPreviewRoute';
  322. static _i21.PageInfo page = _i21.PageInfo(
  323. name,
  324. builder: (data) {
  325. final args = data.argsAs<PhotoPreviewRouteArgs>();
  326. return _i10.PhotoPreviewPage(
  327. key: args.key,
  328. info: args.info,
  329. path: args.path,
  330. area: args.area,
  331. time: args.time,
  332. mobile: args.mobile,
  333. deviceModel: args.deviceModel,
  334. wifi: args.wifi,
  335. );
  336. },
  337. );
  338. }
  339. class PhotoPreviewRouteArgs {
  340. const PhotoPreviewRouteArgs({
  341. this.key,
  342. required this.info,
  343. required this.path,
  344. required this.area,
  345. required this.time,
  346. required this.mobile,
  347. required this.deviceModel,
  348. required this.wifi,
  349. });
  350. final _i23.Key? key;
  351. final _i24.LocalPatientInfo info;
  352. final String path;
  353. final String area;
  354. final DateTime time;
  355. final String mobile;
  356. final String deviceModel;
  357. final String wifi;
  358. @override
  359. String toString() {
  360. return 'PhotoPreviewRouteArgs{key: $key, info: $info, path: $path, area: $area, time: $time, mobile: $mobile, deviceModel: $deviceModel, wifi: $wifi}';
  361. }
  362. }
  363. /// generated route for
  364. /// [_i11.PhotoViewPage]
  365. class PhotoViewRoute extends _i21.PageRouteInfo<PhotoViewRouteArgs> {
  366. PhotoViewRoute({
  367. _i23.Key? key,
  368. required _i25.HistoryItemInfo? info,
  369. List<_i21.PageRouteInfo>? children,
  370. }) : super(
  371. PhotoViewRoute.name,
  372. args: PhotoViewRouteArgs(
  373. key: key,
  374. info: info,
  375. ),
  376. initialChildren: children,
  377. );
  378. static const String name = 'PhotoViewRoute';
  379. static _i21.PageInfo page = _i21.PageInfo(
  380. name,
  381. builder: (data) {
  382. final args = data.argsAs<PhotoViewRouteArgs>();
  383. return _i11.PhotoViewPage(
  384. key: args.key,
  385. info: args.info,
  386. );
  387. },
  388. );
  389. }
  390. class PhotoViewRouteArgs {
  391. const PhotoViewRouteArgs({
  392. this.key,
  393. required this.info,
  394. });
  395. final _i23.Key? key;
  396. final _i25.HistoryItemInfo? info;
  397. @override
  398. String toString() {
  399. return 'PhotoViewRouteArgs{key: $key, info: $info}';
  400. }
  401. }
  402. /// generated route for
  403. /// [_i12.SelectHistoryPage]
  404. class SelectHistoryRoute extends _i21.PageRouteInfo<SelectHistoryRouteArgs> {
  405. SelectHistoryRoute({
  406. _i23.Key? key,
  407. required _i12.SelectHistoryType selectType,
  408. required bool isFillterPatient,
  409. bool isMultiSelect = false,
  410. int maxCount = 0,
  411. List<_i21.PageRouteInfo>? children,
  412. }) : super(
  413. SelectHistoryRoute.name,
  414. args: SelectHistoryRouteArgs(
  415. key: key,
  416. selectType: selectType,
  417. isFillterPatient: isFillterPatient,
  418. isMultiSelect: isMultiSelect,
  419. maxCount: maxCount,
  420. ),
  421. initialChildren: children,
  422. );
  423. static const String name = 'SelectHistoryRoute';
  424. static _i21.PageInfo page = _i21.PageInfo(
  425. name,
  426. builder: (data) {
  427. final args = data.argsAs<SelectHistoryRouteArgs>();
  428. return _i12.SelectHistoryPage(
  429. key: args.key,
  430. selectType: args.selectType,
  431. isFillterPatient: args.isFillterPatient,
  432. isMultiSelect: args.isMultiSelect,
  433. maxCount: args.maxCount,
  434. );
  435. },
  436. );
  437. }
  438. class SelectHistoryRouteArgs {
  439. const SelectHistoryRouteArgs({
  440. this.key,
  441. required this.selectType,
  442. required this.isFillterPatient,
  443. this.isMultiSelect = false,
  444. this.maxCount = 0,
  445. });
  446. final _i23.Key? key;
  447. final _i12.SelectHistoryType selectType;
  448. final bool isFillterPatient;
  449. final bool isMultiSelect;
  450. final int maxCount;
  451. @override
  452. String toString() {
  453. return 'SelectHistoryRouteArgs{key: $key, selectType: $selectType, isFillterPatient: $isFillterPatient, isMultiSelect: $isMultiSelect, maxCount: $maxCount}';
  454. }
  455. }
  456. /// generated route for
  457. /// [_i13.SettingsPage]
  458. class SettingsRoute extends _i21.PageRouteInfo<void> {
  459. const SettingsRoute({List<_i21.PageRouteInfo>? children})
  460. : super(
  461. SettingsRoute.name,
  462. initialChildren: children,
  463. );
  464. static const String name = 'SettingsRoute';
  465. static _i21.PageInfo page = _i21.PageInfo(
  466. name,
  467. builder: (data) {
  468. return const _i13.SettingsPage();
  469. },
  470. );
  471. }
  472. /// generated route for
  473. /// [_i14.SplashPage]
  474. class SplashRoute extends _i21.PageRouteInfo<void> {
  475. const SplashRoute({List<_i21.PageRouteInfo>? children})
  476. : super(
  477. SplashRoute.name,
  478. initialChildren: children,
  479. );
  480. static const String name = 'SplashRoute';
  481. static _i21.PageInfo page = _i21.PageInfo(
  482. name,
  483. builder: (data) {
  484. return const _i14.SplashPage();
  485. },
  486. );
  487. }
  488. /// generated route for
  489. /// [_i15.UploadPage]
  490. class UploadRoute extends _i21.PageRouteInfo<UploadRouteArgs> {
  491. UploadRoute({
  492. _i23.Key? key,
  493. required List<_i25.HistoryItemInfo> uploadList,
  494. required _i26.ClinicInfo clinicInfo,
  495. required bool isFromView,
  496. List<_i21.PageRouteInfo>? children,
  497. }) : super(
  498. UploadRoute.name,
  499. args: UploadRouteArgs(
  500. key: key,
  501. uploadList: uploadList,
  502. clinicInfo: clinicInfo,
  503. isFromView: isFromView,
  504. ),
  505. initialChildren: children,
  506. );
  507. static const String name = 'UploadRoute';
  508. static _i21.PageInfo page = _i21.PageInfo(
  509. name,
  510. builder: (data) {
  511. final args = data.argsAs<UploadRouteArgs>();
  512. return _i15.UploadPage(
  513. key: args.key,
  514. uploadList: args.uploadList,
  515. clinicInfo: args.clinicInfo,
  516. isFromView: args.isFromView,
  517. );
  518. },
  519. );
  520. }
  521. class UploadRouteArgs {
  522. const UploadRouteArgs({
  523. this.key,
  524. required this.uploadList,
  525. required this.clinicInfo,
  526. required this.isFromView,
  527. });
  528. final _i23.Key? key;
  529. final List<_i25.HistoryItemInfo> uploadList;
  530. final _i26.ClinicInfo clinicInfo;
  531. final bool isFromView;
  532. @override
  533. String toString() {
  534. return 'UploadRouteArgs{key: $key, uploadList: $uploadList, clinicInfo: $clinicInfo, isFromView: $isFromView}';
  535. }
  536. }
  537. /// generated route for
  538. /// [_i16.UploadSelectClinicPage]
  539. class UploadSelectClinicRoute
  540. extends _i21.PageRouteInfo<UploadSelectClinicRouteArgs> {
  541. UploadSelectClinicRoute({
  542. _i23.Key? key,
  543. required List<_i25.HistoryItemInfo> uploadList,
  544. required bool isFromView,
  545. List<_i21.PageRouteInfo>? children,
  546. }) : super(
  547. UploadSelectClinicRoute.name,
  548. args: UploadSelectClinicRouteArgs(
  549. key: key,
  550. uploadList: uploadList,
  551. isFromView: isFromView,
  552. ),
  553. initialChildren: children,
  554. );
  555. static const String name = 'UploadSelectClinicRoute';
  556. static _i21.PageInfo page = _i21.PageInfo(
  557. name,
  558. builder: (data) {
  559. final args = data.argsAs<UploadSelectClinicRouteArgs>();
  560. return _i16.UploadSelectClinicPage(
  561. key: args.key,
  562. uploadList: args.uploadList,
  563. isFromView: args.isFromView,
  564. );
  565. },
  566. );
  567. }
  568. class UploadSelectClinicRouteArgs {
  569. const UploadSelectClinicRouteArgs({
  570. this.key,
  571. required this.uploadList,
  572. required this.isFromView,
  573. });
  574. final _i23.Key? key;
  575. final List<_i25.HistoryItemInfo> uploadList;
  576. final bool isFromView;
  577. @override
  578. String toString() {
  579. return 'UploadSelectClinicRouteArgs{key: $key, uploadList: $uploadList, isFromView: $isFromView}';
  580. }
  581. }
  582. /// generated route for
  583. /// [_i17.VideoPlayerPage]
  584. class VideoPlayerRoute extends _i21.PageRouteInfo<VideoPlayerRouteArgs> {
  585. VideoPlayerRoute({
  586. _i23.Key? key,
  587. required _i25.HistoryItemInfo? info,
  588. List<_i21.PageRouteInfo>? children,
  589. }) : super(
  590. VideoPlayerRoute.name,
  591. args: VideoPlayerRouteArgs(
  592. key: key,
  593. info: info,
  594. ),
  595. initialChildren: children,
  596. );
  597. static const String name = 'VideoPlayerRoute';
  598. static _i21.PageInfo page = _i21.PageInfo(
  599. name,
  600. builder: (data) {
  601. final args = data.argsAs<VideoPlayerRouteArgs>();
  602. return _i17.VideoPlayerPage(
  603. key: args.key,
  604. info: args.info,
  605. );
  606. },
  607. );
  608. }
  609. class VideoPlayerRouteArgs {
  610. const VideoPlayerRouteArgs({
  611. this.key,
  612. required this.info,
  613. });
  614. final _i23.Key? key;
  615. final _i25.HistoryItemInfo? info;
  616. @override
  617. String toString() {
  618. return 'VideoPlayerRouteArgs{key: $key, info: $info}';
  619. }
  620. }
  621. /// generated route for
  622. /// [_i18.VideoPreviewPage]
  623. class VideoPreviewRoute extends _i21.PageRouteInfo<VideoPreviewRouteArgs> {
  624. VideoPreviewRoute({
  625. _i23.Key? key,
  626. required _i24.LocalPatientInfo info,
  627. required String path,
  628. required String area,
  629. required DateTime time,
  630. required String mobile,
  631. required String wifi,
  632. required String deviceModel,
  633. List<_i21.PageRouteInfo>? children,
  634. }) : super(
  635. VideoPreviewRoute.name,
  636. args: VideoPreviewRouteArgs(
  637. key: key,
  638. info: info,
  639. path: path,
  640. area: area,
  641. time: time,
  642. mobile: mobile,
  643. wifi: wifi,
  644. deviceModel: deviceModel,
  645. ),
  646. initialChildren: children,
  647. );
  648. static const String name = 'VideoPreviewRoute';
  649. static _i21.PageInfo page = _i21.PageInfo(
  650. name,
  651. builder: (data) {
  652. final args = data.argsAs<VideoPreviewRouteArgs>();
  653. return _i18.VideoPreviewPage(
  654. key: args.key,
  655. info: args.info,
  656. path: args.path,
  657. area: args.area,
  658. time: args.time,
  659. mobile: args.mobile,
  660. wifi: args.wifi,
  661. deviceModel: args.deviceModel,
  662. );
  663. },
  664. );
  665. }
  666. class VideoPreviewRouteArgs {
  667. const VideoPreviewRouteArgs({
  668. this.key,
  669. required this.info,
  670. required this.path,
  671. required this.area,
  672. required this.time,
  673. required this.mobile,
  674. required this.wifi,
  675. required this.deviceModel,
  676. });
  677. final _i23.Key? key;
  678. final _i24.LocalPatientInfo info;
  679. final String path;
  680. final String area;
  681. final DateTime time;
  682. final String mobile;
  683. final String wifi;
  684. final String deviceModel;
  685. @override
  686. String toString() {
  687. return 'VideoPreviewRouteArgs{key: $key, info: $info, path: $path, area: $area, time: $time, mobile: $mobile, wifi: $wifi, deviceModel: $deviceModel}';
  688. }
  689. }
  690. /// generated route for
  691. /// [_i19.VideoViewPage]
  692. class VideoViewRoute extends _i21.PageRouteInfo<void> {
  693. const VideoViewRoute({List<_i21.PageRouteInfo>? children})
  694. : super(
  695. VideoViewRoute.name,
  696. initialChildren: children,
  697. );
  698. static const String name = 'VideoViewRoute';
  699. static _i21.PageInfo page = _i21.PageInfo(
  700. name,
  701. builder: (data) {
  702. return const _i19.VideoViewPage();
  703. },
  704. );
  705. }
  706. /// generated route for
  707. /// [_i20.WebviewPage]
  708. class WebviewRoute extends _i21.PageRouteInfo<WebviewRouteArgs> {
  709. WebviewRoute({
  710. _i22.Key? key,
  711. required String url,
  712. String? title,
  713. _i27.Future<_i28.HttpResponse<String>>? htmlFuture,
  714. List<_i21.PageRouteInfo>? children,
  715. }) : super(
  716. WebviewRoute.name,
  717. args: WebviewRouteArgs(
  718. key: key,
  719. url: url,
  720. title: title,
  721. htmlFuture: htmlFuture,
  722. ),
  723. initialChildren: children,
  724. );
  725. static const String name = 'WebviewRoute';
  726. static _i21.PageInfo page = _i21.PageInfo(
  727. name,
  728. builder: (data) {
  729. final args = data.argsAs<WebviewRouteArgs>();
  730. return _i20.WebviewPage(
  731. key: args.key,
  732. url: args.url,
  733. title: args.title,
  734. htmlFuture: args.htmlFuture,
  735. );
  736. },
  737. );
  738. }
  739. class WebviewRouteArgs {
  740. const WebviewRouteArgs({
  741. this.key,
  742. required this.url,
  743. this.title,
  744. this.htmlFuture,
  745. });
  746. final _i22.Key? key;
  747. final String url;
  748. final String? title;
  749. final _i27.Future<_i28.HttpResponse<String>>? htmlFuture;
  750. @override
  751. String toString() {
  752. return 'WebviewRouteArgs{key: $key, url: $url, title: $title, htmlFuture: $htmlFuture}';
  753. }
  754. }