// GENERATED CODE - DO NOT MODIFY BY HAND // dart format width=80 // ************************************************************************** // StackedNavigatorGenerator // ************************************************************************** // ignore_for_file: no_leading_underscores_for_library_prefixes import 'package:flutter/material.dart' as _i37; import 'package:flutter/material.dart'; import 'package:stacked/stacked.dart' as _i1; import 'package:stacked_services/stacked_services.dart' as _i46; import 'package:yimaru_app/models/course.dart' as _i42; import 'package:yimaru_app/models/course_catalog.dart' as _i44; import 'package:yimaru_app/models/course_lesson.dart' as _i43; import 'package:yimaru_app/models/course_module.dart' as _i45; import 'package:yimaru_app/models/learn_course.dart' as _i38; import 'package:yimaru_app/models/learn_lesson.dart' as _i40; import 'package:yimaru_app/models/learn_module.dart' as _i39; import 'package:yimaru_app/ui/common/enmus.dart' as _i41; import 'package:yimaru_app/ui/views/account_privacy/account_privacy_view.dart' as _i9; import 'package:yimaru_app/ui/views/arif_pay/arif_pay_view.dart' as _i32; import 'package:yimaru_app/ui/views/assessment/assessment_view.dart' as _i30; import 'package:yimaru_app/ui/views/call_support/call_support_view.dart' as _i12; import 'package:yimaru_app/ui/views/course/course_view.dart' as _i27; import 'package:yimaru_app/ui/views/course_catalog/course_catalog_view.dart' as _i33; import 'package:yimaru_app/ui/views/course_lesson_detail/course_lesson_detail_view.dart' as _i25; import 'package:yimaru_app/ui/views/course_module/course_module_view.dart' as _i36; import 'package:yimaru_app/ui/views/course_payment/course_payment_view.dart' as _i23; import 'package:yimaru_app/ui/views/course_unit/course_unit_view.dart' as _i34; import 'package:yimaru_app/ui/views/downloads/downloads_view.dart' as _i7; import 'package:yimaru_app/ui/views/duolingo/duolingo_view.dart' as _i26; import 'package:yimaru_app/ui/views/failure/failure_view.dart' as _i24; import 'package:yimaru_app/ui/views/forget_password/forget_password_view.dart' as _i20; import 'package:yimaru_app/ui/views/home/home_view.dart' as _i2; import 'package:yimaru_app/ui/views/landing/landing_view.dart' as _i35; import 'package:yimaru_app/ui/views/language/language_view.dart' as _i13; import 'package:yimaru_app/ui/views/learn_course/learn_course_view.dart' as _i29; import 'package:yimaru_app/ui/views/learn_lesson/learn_lesson_view.dart' as _i19; import 'package:yimaru_app/ui/views/learn_lesson_detail/learn_lesson_detail_view.dart' as _i21; import 'package:yimaru_app/ui/views/learn_module/learn_module_view.dart' as _i18; import 'package:yimaru_app/ui/views/learn_practice/learn_practice_view.dart' as _i22; import 'package:yimaru_app/ui/views/learn_program/learn_program_view.dart' as _i28; import 'package:yimaru_app/ui/views/learn_subscription/learn_subscription_view.dart' as _i31; import 'package:yimaru_app/ui/views/login/login_view.dart' as _i17; import 'package:yimaru_app/ui/views/onboarding/onboarding_view.dart' as _i3; import 'package:yimaru_app/ui/views/privacy_policy/privacy_policy_view.dart' as _i14; import 'package:yimaru_app/ui/views/profile/profile_view.dart' as _i5; import 'package:yimaru_app/ui/views/profile_detail/profile_detail_view.dart' as _i6; import 'package:yimaru_app/ui/views/progress/progress_view.dart' as _i8; import 'package:yimaru_app/ui/views/register/register_view.dart' as _i16; import 'package:yimaru_app/ui/views/startup/startup_view.dart' as _i4; import 'package:yimaru_app/ui/views/support/support_view.dart' as _i10; import 'package:yimaru_app/ui/views/telegram_support/telegram_support_view.dart' as _i11; import 'package:yimaru_app/ui/views/terms_and_conditions/terms_and_conditions_view.dart' as _i15; class Routes { static const homeView = '/home-view'; static const onboardingView = '/onboarding-view'; static const startupView = '/startup-view'; static const profileView = '/profile-view'; static const profileDetailView = '/profile-detail-view'; static const downloadsView = '/downloads-view'; static const progressView = '/progress-view'; static const accountPrivacyView = '/account-privacy-view'; static const supportView = '/support-view'; static const telegramSupportView = '/telegram-support-view'; static const callSupportView = '/call-support-view'; static const languageView = '/language-view'; static const privacyPolicyView = '/privacy-policy-view'; static const termsAndConditionsView = '/terms-and-conditions-view'; static const registerView = '/register-view'; static const loginView = '/login-view'; static const learnModuleView = '/learn-module-view'; static const learnLessonView = '/learn-lesson-view'; static const forgetPasswordView = '/forget-password-view'; static const learnLessonDetailView = '/learn-lesson-detail-view'; static const learnPracticeView = '/learn-practice-view'; static const coursePaymentView = '/course-payment-view'; static const failureView = '/failure-view'; static const courseLessonDetailView = '/course-lesson-detail-view'; static const duolingoView = '/duolingo-view'; static const courseView = '/course-view'; static const learnProgramView = '/learn-program-view'; static const learnCourseView = '/learn-course-view'; static const assessmentView = '/assessment-view'; static const learnSubscriptionView = '/learn-subscription-view'; static const arifPayView = '/arif-pay-view'; static const courseCatalogView = '/course-catalog-view'; static const courseUnitView = '/course-unit-view'; static const landingView = '/landing-view'; static const courseModuleView = '/course-module-view'; static const all = { homeView, onboardingView, startupView, profileView, profileDetailView, downloadsView, progressView, accountPrivacyView, supportView, telegramSupportView, callSupportView, languageView, privacyPolicyView, termsAndConditionsView, registerView, loginView, learnModuleView, learnLessonView, forgetPasswordView, learnLessonDetailView, learnPracticeView, coursePaymentView, failureView, courseLessonDetailView, duolingoView, courseView, learnProgramView, learnCourseView, assessmentView, learnSubscriptionView, arifPayView, courseCatalogView, courseUnitView, landingView, courseModuleView, }; } class StackedRouter extends _i1.RouterBase { final _routes = <_i1.RouteDef>[ _i1.RouteDef( Routes.homeView, page: _i2.HomeView, ), _i1.RouteDef( Routes.onboardingView, page: _i3.OnboardingView, ), _i1.RouteDef( Routes.startupView, page: _i4.StartupView, ), _i1.RouteDef( Routes.profileView, page: _i5.ProfileView, ), _i1.RouteDef( Routes.profileDetailView, page: _i6.ProfileDetailView, ), _i1.RouteDef( Routes.downloadsView, page: _i7.DownloadsView, ), _i1.RouteDef( Routes.progressView, page: _i8.ProgressView, ), _i1.RouteDef( Routes.accountPrivacyView, page: _i9.AccountPrivacyView, ), _i1.RouteDef( Routes.supportView, page: _i10.SupportView, ), _i1.RouteDef( Routes.telegramSupportView, page: _i11.TelegramSupportView, ), _i1.RouteDef( Routes.callSupportView, page: _i12.CallSupportView, ), _i1.RouteDef( Routes.languageView, page: _i13.LanguageView, ), _i1.RouteDef( Routes.privacyPolicyView, page: _i14.PrivacyPolicyView, ), _i1.RouteDef( Routes.termsAndConditionsView, page: _i15.TermsAndConditionsView, ), _i1.RouteDef( Routes.registerView, page: _i16.RegisterView, ), _i1.RouteDef( Routes.loginView, page: _i17.LoginView, ), _i1.RouteDef( Routes.learnModuleView, page: _i18.LearnModuleView, ), _i1.RouteDef( Routes.learnLessonView, page: _i19.LearnLessonView, ), _i1.RouteDef( Routes.forgetPasswordView, page: _i20.ForgetPasswordView, ), _i1.RouteDef( Routes.learnLessonDetailView, page: _i21.LearnLessonDetailView, ), _i1.RouteDef( Routes.learnPracticeView, page: _i22.LearnPracticeView, ), _i1.RouteDef( Routes.coursePaymentView, page: _i23.CoursePaymentView, ), _i1.RouteDef( Routes.failureView, page: _i24.FailureView, ), _i1.RouteDef( Routes.courseLessonDetailView, page: _i25.CourseLessonDetailView, ), _i1.RouteDef( Routes.duolingoView, page: _i26.DuolingoView, ), _i1.RouteDef( Routes.courseView, page: _i27.CourseView, ), _i1.RouteDef( Routes.learnProgramView, page: _i28.LearnProgramView, ), _i1.RouteDef( Routes.learnCourseView, page: _i29.LearnCourseView, ), _i1.RouteDef( Routes.assessmentView, page: _i30.AssessmentView, ), _i1.RouteDef( Routes.learnSubscriptionView, page: _i31.LearnSubscriptionView, ), _i1.RouteDef( Routes.arifPayView, page: _i32.ArifPayView, ), _i1.RouteDef( Routes.courseCatalogView, page: _i33.CourseCatalogView, ), _i1.RouteDef( Routes.courseUnitView, page: _i34.CourseUnitView, ), _i1.RouteDef( Routes.landingView, page: _i35.LandingView, ), _i1.RouteDef( Routes.courseModuleView, page: _i36.CourseModuleView, ), _i1.RouteDef( Routes.learnCourseView, page: _i29.LearnCourseView, ), ]; final _pagesMap = { _i2.HomeView: (data) { final args = data.getArgs( orElse: () => const HomeViewArguments(), ); return _i37.MaterialPageRoute( builder: (context) => _i2.HomeView(key: args.key), settings: data, ); }, _i3.OnboardingView: (data) { final args = data.getArgs( orElse: () => const OnboardingViewArguments(), ); return _i37.MaterialPageRoute( builder: (context) => _i3.OnboardingView(key: args.key), settings: data, ); }, _i4.StartupView: (data) { final args = data.getArgs( orElse: () => const StartupViewArguments(), ); return _i37.MaterialPageRoute( builder: (context) => _i4.StartupView(key: args.key, label: args.label), settings: data, ); }, _i5.ProfileView: (data) { final args = data.getArgs( orElse: () => const ProfileViewArguments(), ); return _i37.MaterialPageRoute( builder: (context) => _i5.ProfileView(key: args.key), settings: data, ); }, _i6.ProfileDetailView: (data) { final args = data.getArgs( orElse: () => const ProfileDetailViewArguments(), ); return _i37.MaterialPageRoute( builder: (context) => _i6.ProfileDetailView(key: args.key), settings: data, ); }, _i7.DownloadsView: (data) { final args = data.getArgs( orElse: () => const DownloadsViewArguments(), ); return _i37.MaterialPageRoute( builder: (context) => _i7.DownloadsView(key: args.key), settings: data, ); }, _i8.ProgressView: (data) { final args = data.getArgs( orElse: () => const ProgressViewArguments(), ); return _i37.MaterialPageRoute( builder: (context) => _i8.ProgressView(key: args.key), settings: data, ); }, _i9.AccountPrivacyView: (data) { final args = data.getArgs( orElse: () => const AccountPrivacyViewArguments(), ); return _i37.MaterialPageRoute( builder: (context) => _i9.AccountPrivacyView(key: args.key), settings: data, ); }, _i10.SupportView: (data) { final args = data.getArgs( orElse: () => const SupportViewArguments(), ); return _i37.MaterialPageRoute( builder: (context) => _i10.SupportView(key: args.key), settings: data, ); }, _i11.TelegramSupportView: (data) { final args = data.getArgs( orElse: () => const TelegramSupportViewArguments(), ); return _i37.MaterialPageRoute( builder: (context) => _i11.TelegramSupportView(key: args.key), settings: data, ); }, _i12.CallSupportView: (data) { final args = data.getArgs( orElse: () => const CallSupportViewArguments(), ); return _i37.MaterialPageRoute( builder: (context) => _i12.CallSupportView(key: args.key), settings: data, ); }, _i13.LanguageView: (data) { final args = data.getArgs( orElse: () => const LanguageViewArguments(), ); return _i37.MaterialPageRoute( builder: (context) => _i13.LanguageView(key: args.key), settings: data, ); }, _i14.PrivacyPolicyView: (data) { final args = data.getArgs( orElse: () => const PrivacyPolicyViewArguments(), ); return _i37.MaterialPageRoute( builder: (context) => _i14.PrivacyPolicyView(key: args.key), settings: data, ); }, _i15.TermsAndConditionsView: (data) { final args = data.getArgs( orElse: () => const TermsAndConditionsViewArguments(), ); return _i37.MaterialPageRoute( builder: (context) => _i15.TermsAndConditionsView(key: args.key), settings: data, ); }, _i16.RegisterView: (data) { final args = data.getArgs( orElse: () => const RegisterViewArguments(), ); return _i37.MaterialPageRoute( builder: (context) => _i16.RegisterView(key: args.key), settings: data, ); }, _i17.LoginView: (data) { final args = data.getArgs( orElse: () => const LoginViewArguments(), ); return _i37.MaterialPageRoute( builder: (context) => _i17.LoginView(key: args.key), settings: data, ); }, _i18.LearnModuleView: (data) { final args = data.getArgs(nullOk: false); return _i37.MaterialPageRoute( builder: (context) => _i18.LearnModuleView(key: args.key, course: args.course), settings: data, ); }, _i19.LearnLessonView: (data) { final args = data.getArgs(nullOk: false); return _i37.MaterialPageRoute( builder: (context) => _i19.LearnLessonView(key: args.key, module: args.module), settings: data, ); }, _i20.ForgetPasswordView: (data) { final args = data.getArgs( orElse: () => const ForgetPasswordViewArguments(), ); return _i37.MaterialPageRoute( builder: (context) => _i20.ForgetPasswordView(key: args.key), settings: data, ); }, _i21.LearnLessonDetailView: (data) { final args = data.getArgs(nullOk: false); return _i37.MaterialPageRoute( builder: (context) => _i21.LearnLessonDetailView( key: args.key, lesson: args.lesson, module: args.module, hasPractice: args.hasPractice), settings: data, ); }, _i22.LearnPracticeView: (data) { final args = data.getArgs(nullOk: false); return _i37.MaterialPageRoute( builder: (context) => _i22.LearnPracticeView( key: args.key, level: args.level, id: args.id, label: args.label, title: args.title, practice: args.practice, subtitle: args.subtitle), settings: data, ); }, _i23.CoursePaymentView: (data) { final args = data.getArgs(nullOk: false); return _i37.MaterialPageRoute( builder: (context) => _i23.CoursePaymentView(key: args.key, course: args.course), settings: data, ); }, _i24.FailureView: (data) { final args = data.getArgs(nullOk: false); return _i37.MaterialPageRoute( builder: (context) => _i24.FailureView( key: args.key, onTap: args.onTap, label: args.label), settings: data, ); }, _i25.CourseLessonDetailView: (data) { final args = data.getArgs(nullOk: false); return _i37.MaterialPageRoute( builder: (context) => _i25.CourseLessonDetailView(key: args.key, lesson: args.lesson), settings: data, ); }, _i26.DuolingoView: (data) { final args = data.getArgs( orElse: () => const DuolingoViewArguments(), ); return _i37.MaterialPageRoute( builder: (context) => _i26.DuolingoView(key: args.key), settings: data, ); }, _i27.CourseView: (data) { final args = data.getArgs( orElse: () => const CourseViewArguments(), ); return _i37.MaterialPageRoute( builder: (context) => _i27.CourseView(key: args.key), settings: data, ); }, _i28.LearnProgramView: (data) { final args = data.getArgs( orElse: () => const LearnProgramViewArguments(), ); return _i37.MaterialPageRoute( builder: (context) => _i28.LearnProgramView(key: args.key), settings: data, ); }, _i29.LearnCourseView: (data) { final args = data.getArgs(nullOk: false); return _i37.MaterialPageRoute( builder: (context) => _i29.LearnCourseView(key: args.key, id: args.id), settings: data, ); }, _i30.AssessmentView: (data) { final args = data.getArgs(nullOk: false); return _i37.MaterialPageRoute( builder: (context) => _i30.AssessmentView(key: args.key, data: args.data), settings: data, ); }, _i31.LearnSubscriptionView: (data) { final args = data.getArgs( orElse: () => const LearnSubscriptionViewArguments(), ); return _i37.MaterialPageRoute( builder: (context) => _i31.LearnSubscriptionView(key: args.key), settings: data, ); }, _i32.ArifPayView: (data) { final args = data.getArgs(nullOk: false); return _i37.MaterialPageRoute( builder: (context) => _i32.ArifPayView(key: args.key, phone: args.phone), settings: data, ); }, _i33.CourseCatalogView: (data) { final args = data.getArgs( orElse: () => const CourseCatalogViewArguments(), ); return _i37.MaterialPageRoute( builder: (context) => _i33.CourseCatalogView(key: args.key), settings: data, ); }, _i34.CourseUnitView: (data) { final args = data.getArgs(nullOk: false); return _i37.MaterialPageRoute( builder: (context) => _i34.CourseUnitView(key: args.key, catalog: args.catalog), settings: data, ); }, _i35.LandingView: (data) { final args = data.getArgs( orElse: () => const LandingViewArguments(), ); return _i37.MaterialPageRoute( builder: (context) => _i35.LandingView(key: args.key), settings: data, ); }, _i36.CourseModuleView: (data) { final args = data.getArgs(nullOk: false); return _i37.MaterialPageRoute( builder: (context) => _i36.CourseModuleView( key: args.key, module: args.module, catalog: args.catalog), settings: data, ); }, }; @override List<_i1.RouteDef> get routes => _routes; @override Map get pagesMap => _pagesMap; } class HomeViewArguments { const HomeViewArguments({this.key}); final _i37.Key? key; @override String toString() { return '{"key": "$key"}'; } @override bool operator ==(covariant HomeViewArguments other) { if (identical(this, other)) return true; return other.key == key; } @override int get hashCode { return key.hashCode; } } class OnboardingViewArguments { const OnboardingViewArguments({this.key}); final _i37.Key? key; @override String toString() { return '{"key": "$key"}'; } @override bool operator ==(covariant OnboardingViewArguments other) { if (identical(this, other)) return true; return other.key == key; } @override int get hashCode { return key.hashCode; } } class StartupViewArguments { const StartupViewArguments({ this.key, this.label, }); final _i37.Key? key; final String? label; @override String toString() { return '{"key": "$key", "label": "$label"}'; } @override bool operator ==(covariant StartupViewArguments other) { if (identical(this, other)) return true; return other.key == key && other.label == label; } @override int get hashCode { return key.hashCode ^ label.hashCode; } } class ProfileViewArguments { const ProfileViewArguments({this.key}); final _i37.Key? key; @override String toString() { return '{"key": "$key"}'; } @override bool operator ==(covariant ProfileViewArguments other) { if (identical(this, other)) return true; return other.key == key; } @override int get hashCode { return key.hashCode; } } class ProfileDetailViewArguments { const ProfileDetailViewArguments({this.key}); final _i37.Key? key; @override String toString() { return '{"key": "$key"}'; } @override bool operator ==(covariant ProfileDetailViewArguments other) { if (identical(this, other)) return true; return other.key == key; } @override int get hashCode { return key.hashCode; } } class DownloadsViewArguments { const DownloadsViewArguments({this.key}); final _i37.Key? key; @override String toString() { return '{"key": "$key"}'; } @override bool operator ==(covariant DownloadsViewArguments other) { if (identical(this, other)) return true; return other.key == key; } @override int get hashCode { return key.hashCode; } } class ProgressViewArguments { const ProgressViewArguments({this.key}); final _i37.Key? key; @override String toString() { return '{"key": "$key"}'; } @override bool operator ==(covariant ProgressViewArguments other) { if (identical(this, other)) return true; return other.key == key; } @override int get hashCode { return key.hashCode; } } class AccountPrivacyViewArguments { const AccountPrivacyViewArguments({this.key}); final _i37.Key? key; @override String toString() { return '{"key": "$key"}'; } @override bool operator ==(covariant AccountPrivacyViewArguments other) { if (identical(this, other)) return true; return other.key == key; } @override int get hashCode { return key.hashCode; } } class SupportViewArguments { const SupportViewArguments({this.key}); final _i37.Key? key; @override String toString() { return '{"key": "$key"}'; } @override bool operator ==(covariant SupportViewArguments other) { if (identical(this, other)) return true; return other.key == key; } @override int get hashCode { return key.hashCode; } } class TelegramSupportViewArguments { const TelegramSupportViewArguments({this.key}); final _i37.Key? key; @override String toString() { return '{"key": "$key"}'; } @override bool operator ==(covariant TelegramSupportViewArguments other) { if (identical(this, other)) return true; return other.key == key; } @override int get hashCode { return key.hashCode; } } class CallSupportViewArguments { const CallSupportViewArguments({this.key}); final _i37.Key? key; @override String toString() { return '{"key": "$key"}'; } @override bool operator ==(covariant CallSupportViewArguments other) { if (identical(this, other)) return true; return other.key == key; } @override int get hashCode { return key.hashCode; } } class LanguageViewArguments { const LanguageViewArguments({this.key}); final _i37.Key? key; @override String toString() { return '{"key": "$key"}'; } @override bool operator ==(covariant LanguageViewArguments other) { if (identical(this, other)) return true; return other.key == key; } @override int get hashCode { return key.hashCode; } } class PrivacyPolicyViewArguments { const PrivacyPolicyViewArguments({this.key}); final _i37.Key? key; @override String toString() { return '{"key": "$key"}'; } @override bool operator ==(covariant PrivacyPolicyViewArguments other) { if (identical(this, other)) return true; return other.key == key; } @override int get hashCode { return key.hashCode; } } class TermsAndConditionsViewArguments { const TermsAndConditionsViewArguments({this.key}); final _i37.Key? key; @override String toString() { return '{"key": "$key"}'; } @override bool operator ==(covariant TermsAndConditionsViewArguments other) { if (identical(this, other)) return true; return other.key == key; } @override int get hashCode { return key.hashCode; } } class RegisterViewArguments { const RegisterViewArguments({this.key}); final _i37.Key? key; @override String toString() { return '{"key": "$key"}'; } @override bool operator ==(covariant RegisterViewArguments other) { if (identical(this, other)) return true; return other.key == key; } @override int get hashCode { return key.hashCode; } } class LoginViewArguments { const LoginViewArguments({this.key}); final _i37.Key? key; @override String toString() { return '{"key": "$key"}'; } @override bool operator ==(covariant LoginViewArguments other) { if (identical(this, other)) return true; return other.key == key; } @override int get hashCode { return key.hashCode; } } class LearnModuleViewArguments { const LearnModuleViewArguments({ this.key, required this.course, }); final _i37.Key? key; final _i38.LearnCourse course; @override String toString() { return '{"key": "$key", "course": "$course"}'; } @override bool operator ==(covariant LearnModuleViewArguments other) { if (identical(this, other)) return true; return other.key == key && other.course == course; } @override int get hashCode { return key.hashCode ^ course.hashCode; } } class LearnLessonViewArguments { const LearnLessonViewArguments({ this.key, required this.module, }); final _i37.Key? key; final _i39.LearnModule module; @override String toString() { return '{"key": "$key", "module": "$module"}'; } @override bool operator ==(covariant LearnLessonViewArguments other) { if (identical(this, other)) return true; return other.key == key && other.module == module; } @override int get hashCode { return key.hashCode ^ module.hashCode; } } class ForgetPasswordViewArguments { const ForgetPasswordViewArguments({this.key}); final _i37.Key? key; @override String toString() { return '{"key": "$key"}'; } @override bool operator ==(covariant ForgetPasswordViewArguments other) { if (identical(this, other)) return true; return other.key == key; } @override int get hashCode { return key.hashCode; } } class LearnLessonDetailViewArguments { const LearnLessonDetailViewArguments({ this.key, required this.lesson, required this.module, required this.hasPractice, }); final _i37.Key? key; final _i40.LearnLesson lesson; final _i39.LearnModule module; final bool hasPractice; @override String toString() { return '{"key": "$key", "lesson": "$lesson", "module": "$module", "hasPractice": "$hasPractice"}'; } @override bool operator ==(covariant LearnLessonDetailViewArguments other) { if (identical(this, other)) return true; return other.key == key && other.lesson == lesson && other.module == module && other.hasPractice == hasPractice; } @override int get hashCode { return key.hashCode ^ lesson.hashCode ^ module.hashCode ^ hasPractice.hashCode; } } class LearnPracticeViewArguments { const LearnPracticeViewArguments({ this.key, this.level, required this.id, required this.label, required this.title, required this.practice, required this.subtitle, }); final _i37.Key? key; final String? level; final int id; final String label; final String title; final _i41.LearnPractices practice; final String subtitle; @override String toString() { return '{"key": "$key", "level": "$level", "id": "$id", "label": "$label", "title": "$title", "practice": "$practice", "subtitle": "$subtitle"}'; } @override bool operator ==(covariant LearnPracticeViewArguments other) { if (identical(this, other)) return true; return other.key == key && other.level == level && other.id == id && other.label == label && other.title == title && other.practice == practice && other.subtitle == subtitle; } @override int get hashCode { return key.hashCode ^ level.hashCode ^ id.hashCode ^ label.hashCode ^ title.hashCode ^ practice.hashCode ^ subtitle.hashCode; } } class CoursePaymentViewArguments { const CoursePaymentViewArguments({ this.key, required this.course, }); final _i37.Key? key; final _i42.Course course; @override String toString() { return '{"key": "$key", "course": "$course"}'; } @override bool operator ==(covariant CoursePaymentViewArguments other) { if (identical(this, other)) return true; return other.key == key && other.course == course; } @override int get hashCode { return key.hashCode ^ course.hashCode; } } class FailureViewArguments { const FailureViewArguments({ this.key, required this.onTap, required this.label, }); final _i37.Key? key; final void Function() onTap; final String label; @override String toString() { return '{"key": "$key", "onTap": "$onTap", "label": "$label"}'; } @override bool operator ==(covariant FailureViewArguments other) { if (identical(this, other)) return true; return other.key == key && other.onTap == onTap && other.label == label; } @override int get hashCode { return key.hashCode ^ onTap.hashCode ^ label.hashCode; } } class CourseLessonDetailViewArguments { const CourseLessonDetailViewArguments({ this.key, required this.lesson, }); final _i37.Key? key; final _i43.CourseLesson lesson; @override String toString() { return '{"key": "$key", "lesson": "$lesson"}'; } @override bool operator ==(covariant CourseLessonDetailViewArguments other) { if (identical(this, other)) return true; return other.key == key && other.lesson == lesson; } @override int get hashCode { return key.hashCode ^ lesson.hashCode; } } class DuolingoViewArguments { const DuolingoViewArguments({this.key}); final _i37.Key? key; @override String toString() { return '{"key": "$key"}'; } @override bool operator ==(covariant DuolingoViewArguments other) { if (identical(this, other)) return true; return other.key == key; } @override int get hashCode { return key.hashCode; } } class CourseViewArguments { const CourseViewArguments({this.key}); final _i37.Key? key; @override String toString() { return '{"key": "$key"}'; } @override bool operator ==(covariant CourseViewArguments other) { if (identical(this, other)) return true; return other.key == key; } @override int get hashCode { return key.hashCode; } } class LearnProgramViewArguments { const LearnProgramViewArguments({this.key}); final _i37.Key? key; @override String toString() { return '{"key": "$key"}'; } @override bool operator ==(covariant LearnProgramViewArguments other) { if (identical(this, other)) return true; return other.key == key; } @override int get hashCode { return key.hashCode; } } class LearnCourseViewArguments { const LearnCourseViewArguments({ this.key, required this.id, }); final _i37.Key? key; final int id; @override String toString() { return '{"key": "$key", "id": "$id"}'; } @override bool operator ==(covariant LearnCourseViewArguments other) { if (identical(this, other)) return true; return other.key == key && other.id == id; } @override int get hashCode { return key.hashCode ^ id.hashCode; } } class AssessmentViewArguments { const AssessmentViewArguments({ this.key, required this.data, }); final _i37.Key? key; final Map data; @override String toString() { return '{"key": "$key", "data": "$data"}'; } @override bool operator ==(covariant AssessmentViewArguments other) { if (identical(this, other)) return true; return other.key == key && other.data == data; } @override int get hashCode { return key.hashCode ^ data.hashCode; } } class LearnSubscriptionViewArguments { const LearnSubscriptionViewArguments({this.key}); final _i37.Key? key; @override String toString() { return '{"key": "$key"}'; } @override bool operator ==(covariant LearnSubscriptionViewArguments other) { if (identical(this, other)) return true; return other.key == key; } @override int get hashCode { return key.hashCode; } } class ArifPayViewArguments { const ArifPayViewArguments({ this.key, required this.phone, }); final _i37.Key? key; final String phone; @override String toString() { return '{"key": "$key", "phone": "$phone"}'; } @override bool operator ==(covariant ArifPayViewArguments other) { if (identical(this, other)) return true; return other.key == key && other.phone == phone; } @override int get hashCode { return key.hashCode ^ phone.hashCode; } } class CourseCatalogViewArguments { const CourseCatalogViewArguments({this.key}); final _i37.Key? key; @override String toString() { return '{"key": "$key"}'; } @override bool operator ==(covariant CourseCatalogViewArguments other) { if (identical(this, other)) return true; return other.key == key; } @override int get hashCode { return key.hashCode; } } class CourseUnitViewArguments { const CourseUnitViewArguments({ this.key, required this.catalog, }); final _i37.Key? key; final _i44.CourseCatalog catalog; @override String toString() { return '{"key": "$key", "catalog": "$catalog"}'; } @override bool operator ==(covariant CourseUnitViewArguments other) { if (identical(this, other)) return true; return other.key == key && other.catalog == catalog; } @override int get hashCode { return key.hashCode ^ catalog.hashCode; } } class LandingViewArguments { const LandingViewArguments({this.key}); final _i37.Key? key; @override String toString() { return '{"key": "$key"}'; } @override bool operator ==(covariant LandingViewArguments other) { if (identical(this, other)) return true; return other.key == key; } @override int get hashCode { return key.hashCode; } } class CourseModuleViewArguments { const CourseModuleViewArguments({ this.key, required this.module, required this.catalog, }); final _i37.Key? key; final _i45.CourseModule? module; final _i44.CourseCatalog catalog; @override String toString() { return '{"key": "$key", "module": "$module", "catalog": "$catalog"}'; } @override bool operator ==(covariant CourseModuleViewArguments other) { if (identical(this, other)) return true; return other.key == key && other.module == module && other.catalog == catalog; } @override int get hashCode { return key.hashCode ^ module.hashCode ^ catalog.hashCode; } } extension NavigatorStateExtension on _i46.NavigationService { Future navigateToHomeView({ _i37.Key? key, int? routerId, bool preventDuplicates = true, Map? parameters, Widget Function(BuildContext, Animation, Animation, Widget)? transition, }) async { return navigateTo(Routes.homeView, arguments: HomeViewArguments(key: key), id: routerId, preventDuplicates: preventDuplicates, parameters: parameters, transition: transition); } Future navigateToOnboardingView({ _i37.Key? key, int? routerId, bool preventDuplicates = true, Map? parameters, Widget Function(BuildContext, Animation, Animation, Widget)? transition, }) async { return navigateTo(Routes.onboardingView, arguments: OnboardingViewArguments(key: key), id: routerId, preventDuplicates: preventDuplicates, parameters: parameters, transition: transition); } Future navigateToStartupView({ _i37.Key? key, String? label, int? routerId, bool preventDuplicates = true, Map? parameters, Widget Function(BuildContext, Animation, Animation, Widget)? transition, }) async { return navigateTo(Routes.startupView, arguments: StartupViewArguments(key: key, label: label), id: routerId, preventDuplicates: preventDuplicates, parameters: parameters, transition: transition); } Future navigateToProfileView({ _i37.Key? key, int? routerId, bool preventDuplicates = true, Map? parameters, Widget Function(BuildContext, Animation, Animation, Widget)? transition, }) async { return navigateTo(Routes.profileView, arguments: ProfileViewArguments(key: key), id: routerId, preventDuplicates: preventDuplicates, parameters: parameters, transition: transition); } Future navigateToProfileDetailView({ _i37.Key? key, int? routerId, bool preventDuplicates = true, Map? parameters, Widget Function(BuildContext, Animation, Animation, Widget)? transition, }) async { return navigateTo(Routes.profileDetailView, arguments: ProfileDetailViewArguments(key: key), id: routerId, preventDuplicates: preventDuplicates, parameters: parameters, transition: transition); } Future navigateToDownloadsView({ _i37.Key? key, int? routerId, bool preventDuplicates = true, Map? parameters, Widget Function(BuildContext, Animation, Animation, Widget)? transition, }) async { return navigateTo(Routes.downloadsView, arguments: DownloadsViewArguments(key: key), id: routerId, preventDuplicates: preventDuplicates, parameters: parameters, transition: transition); } Future navigateToProgressView({ _i37.Key? key, int? routerId, bool preventDuplicates = true, Map? parameters, Widget Function(BuildContext, Animation, Animation, Widget)? transition, }) async { return navigateTo(Routes.progressView, arguments: ProgressViewArguments(key: key), id: routerId, preventDuplicates: preventDuplicates, parameters: parameters, transition: transition); } Future navigateToAccountPrivacyView({ _i37.Key? key, int? routerId, bool preventDuplicates = true, Map? parameters, Widget Function(BuildContext, Animation, Animation, Widget)? transition, }) async { return navigateTo(Routes.accountPrivacyView, arguments: AccountPrivacyViewArguments(key: key), id: routerId, preventDuplicates: preventDuplicates, parameters: parameters, transition: transition); } Future navigateToSupportView({ _i37.Key? key, int? routerId, bool preventDuplicates = true, Map? parameters, Widget Function(BuildContext, Animation, Animation, Widget)? transition, }) async { return navigateTo(Routes.supportView, arguments: SupportViewArguments(key: key), id: routerId, preventDuplicates: preventDuplicates, parameters: parameters, transition: transition); } Future navigateToTelegramSupportView({ _i37.Key? key, int? routerId, bool preventDuplicates = true, Map? parameters, Widget Function(BuildContext, Animation, Animation, Widget)? transition, }) async { return navigateTo(Routes.telegramSupportView, arguments: TelegramSupportViewArguments(key: key), id: routerId, preventDuplicates: preventDuplicates, parameters: parameters, transition: transition); } Future navigateToCallSupportView({ _i37.Key? key, int? routerId, bool preventDuplicates = true, Map? parameters, Widget Function(BuildContext, Animation, Animation, Widget)? transition, }) async { return navigateTo(Routes.callSupportView, arguments: CallSupportViewArguments(key: key), id: routerId, preventDuplicates: preventDuplicates, parameters: parameters, transition: transition); } Future navigateToLanguageView({ _i37.Key? key, int? routerId, bool preventDuplicates = true, Map? parameters, Widget Function(BuildContext, Animation, Animation, Widget)? transition, }) async { return navigateTo(Routes.languageView, arguments: LanguageViewArguments(key: key), id: routerId, preventDuplicates: preventDuplicates, parameters: parameters, transition: transition); } Future navigateToPrivacyPolicyView({ _i37.Key? key, int? routerId, bool preventDuplicates = true, Map? parameters, Widget Function(BuildContext, Animation, Animation, Widget)? transition, }) async { return navigateTo(Routes.privacyPolicyView, arguments: PrivacyPolicyViewArguments(key: key), id: routerId, preventDuplicates: preventDuplicates, parameters: parameters, transition: transition); } Future navigateToTermsAndConditionsView({ _i37.Key? key, int? routerId, bool preventDuplicates = true, Map? parameters, Widget Function(BuildContext, Animation, Animation, Widget)? transition, }) async { return navigateTo(Routes.termsAndConditionsView, arguments: TermsAndConditionsViewArguments(key: key), id: routerId, preventDuplicates: preventDuplicates, parameters: parameters, transition: transition); } Future navigateToRegisterView({ _i37.Key? key, int? routerId, bool preventDuplicates = true, Map? parameters, Widget Function(BuildContext, Animation, Animation, Widget)? transition, }) async { return navigateTo(Routes.registerView, arguments: RegisterViewArguments(key: key), id: routerId, preventDuplicates: preventDuplicates, parameters: parameters, transition: transition); } Future navigateToLoginView({ _i37.Key? key, int? routerId, bool preventDuplicates = true, Map? parameters, Widget Function(BuildContext, Animation, Animation, Widget)? transition, }) async { return navigateTo(Routes.loginView, arguments: LoginViewArguments(key: key), id: routerId, preventDuplicates: preventDuplicates, parameters: parameters, transition: transition); } Future navigateToLearnModuleView({ _i37.Key? key, required _i38.LearnCourse course, int? routerId, bool preventDuplicates = true, Map? parameters, Widget Function(BuildContext, Animation, Animation, Widget)? transition, }) async { return navigateTo(Routes.learnModuleView, arguments: LearnModuleViewArguments(key: key, course: course), id: routerId, preventDuplicates: preventDuplicates, parameters: parameters, transition: transition); } Future navigateToLearnLessonView({ _i37.Key? key, required _i39.LearnModule module, int? routerId, bool preventDuplicates = true, Map? parameters, Widget Function(BuildContext, Animation, Animation, Widget)? transition, }) async { return navigateTo(Routes.learnLessonView, arguments: LearnLessonViewArguments(key: key, module: module), id: routerId, preventDuplicates: preventDuplicates, parameters: parameters, transition: transition); } Future navigateToForgetPasswordView({ _i37.Key? key, int? routerId, bool preventDuplicates = true, Map? parameters, Widget Function(BuildContext, Animation, Animation, Widget)? transition, }) async { return navigateTo(Routes.forgetPasswordView, arguments: ForgetPasswordViewArguments(key: key), id: routerId, preventDuplicates: preventDuplicates, parameters: parameters, transition: transition); } Future navigateToLearnLessonDetailView({ _i37.Key? key, required _i40.LearnLesson lesson, required _i39.LearnModule module, required bool hasPractice, int? routerId, bool preventDuplicates = true, Map? parameters, Widget Function(BuildContext, Animation, Animation, Widget)? transition, }) async { return navigateTo(Routes.learnLessonDetailView, arguments: LearnLessonDetailViewArguments( key: key, lesson: lesson, module: module, hasPractice: hasPractice), id: routerId, preventDuplicates: preventDuplicates, parameters: parameters, transition: transition); } Future navigateToLearnPracticeView({ _i37.Key? key, String? level, required int id, required String label, required String title, required _i41.LearnPractices practice, required String subtitle, int? routerId, bool preventDuplicates = true, Map? parameters, Widget Function(BuildContext, Animation, Animation, Widget)? transition, }) async { return navigateTo(Routes.learnPracticeView, arguments: LearnPracticeViewArguments( key: key, level: level, id: id, label: label, title: title, practice: practice, subtitle: subtitle), id: routerId, preventDuplicates: preventDuplicates, parameters: parameters, transition: transition); } Future navigateToCoursePaymentView({ _i37.Key? key, required _i42.Course course, int? routerId, bool preventDuplicates = true, Map? parameters, Widget Function(BuildContext, Animation, Animation, Widget)? transition, }) async { return navigateTo(Routes.coursePaymentView, arguments: CoursePaymentViewArguments(key: key, course: course), id: routerId, preventDuplicates: preventDuplicates, parameters: parameters, transition: transition); } Future navigateToFailureView({ _i37.Key? key, required void Function() onTap, required String label, int? routerId, bool preventDuplicates = true, Map? parameters, Widget Function(BuildContext, Animation, Animation, Widget)? transition, }) async { return navigateTo(Routes.failureView, arguments: FailureViewArguments(key: key, onTap: onTap, label: label), id: routerId, preventDuplicates: preventDuplicates, parameters: parameters, transition: transition); } Future navigateToCourseLessonDetailView({ _i37.Key? key, required _i43.CourseLesson lesson, int? routerId, bool preventDuplicates = true, Map? parameters, Widget Function(BuildContext, Animation, Animation, Widget)? transition, }) async { return navigateTo(Routes.courseLessonDetailView, arguments: CourseLessonDetailViewArguments(key: key, lesson: lesson), id: routerId, preventDuplicates: preventDuplicates, parameters: parameters, transition: transition); } Future navigateToDuolingoView({ _i37.Key? key, int? routerId, bool preventDuplicates = true, Map? parameters, Widget Function(BuildContext, Animation, Animation, Widget)? transition, }) async { return navigateTo(Routes.duolingoView, arguments: DuolingoViewArguments(key: key), id: routerId, preventDuplicates: preventDuplicates, parameters: parameters, transition: transition); } Future navigateToCourseView({ _i37.Key? key, int? routerId, bool preventDuplicates = true, Map? parameters, Widget Function(BuildContext, Animation, Animation, Widget)? transition, }) async { return navigateTo(Routes.courseView, arguments: CourseViewArguments(key: key), id: routerId, preventDuplicates: preventDuplicates, parameters: parameters, transition: transition); } Future navigateToLearnProgramView({ _i37.Key? key, int? routerId, bool preventDuplicates = true, Map? parameters, Widget Function(BuildContext, Animation, Animation, Widget)? transition, }) async { return navigateTo(Routes.learnProgramView, arguments: LearnProgramViewArguments(key: key), id: routerId, preventDuplicates: preventDuplicates, parameters: parameters, transition: transition); } Future navigateToLearnCourseView({ _i37.Key? key, required int id, int? routerId, bool preventDuplicates = true, Map? parameters, Widget Function(BuildContext, Animation, Animation, Widget)? transition, }) async { return navigateTo(Routes.learnCourseView, arguments: LearnCourseViewArguments(key: key, id: id), id: routerId, preventDuplicates: preventDuplicates, parameters: parameters, transition: transition); } Future navigateToAssessmentView({ _i37.Key? key, required Map data, int? routerId, bool preventDuplicates = true, Map? parameters, Widget Function(BuildContext, Animation, Animation, Widget)? transition, }) async { return navigateTo(Routes.assessmentView, arguments: AssessmentViewArguments(key: key, data: data), id: routerId, preventDuplicates: preventDuplicates, parameters: parameters, transition: transition); } Future navigateToLearnSubscriptionView({ _i37.Key? key, int? routerId, bool preventDuplicates = true, Map? parameters, Widget Function(BuildContext, Animation, Animation, Widget)? transition, }) async { return navigateTo(Routes.learnSubscriptionView, arguments: LearnSubscriptionViewArguments(key: key), id: routerId, preventDuplicates: preventDuplicates, parameters: parameters, transition: transition); } Future navigateToArifPayView({ _i37.Key? key, required String phone, int? routerId, bool preventDuplicates = true, Map? parameters, Widget Function(BuildContext, Animation, Animation, Widget)? transition, }) async { return navigateTo(Routes.arifPayView, arguments: ArifPayViewArguments(key: key, phone: phone), id: routerId, preventDuplicates: preventDuplicates, parameters: parameters, transition: transition); } Future navigateToCourseCatalogView({ _i37.Key? key, int? routerId, bool preventDuplicates = true, Map? parameters, Widget Function(BuildContext, Animation, Animation, Widget)? transition, }) async { return navigateTo(Routes.courseCatalogView, arguments: CourseCatalogViewArguments(key: key), id: routerId, preventDuplicates: preventDuplicates, parameters: parameters, transition: transition); } Future navigateToCourseUnitView({ _i37.Key? key, required _i44.CourseCatalog catalog, int? routerId, bool preventDuplicates = true, Map? parameters, Widget Function(BuildContext, Animation, Animation, Widget)? transition, }) async { return navigateTo(Routes.courseUnitView, arguments: CourseUnitViewArguments(key: key, catalog: catalog), id: routerId, preventDuplicates: preventDuplicates, parameters: parameters, transition: transition); } Future navigateToLandingView({ _i37.Key? key, int? routerId, bool preventDuplicates = true, Map? parameters, Widget Function(BuildContext, Animation, Animation, Widget)? transition, }) async { return navigateTo(Routes.landingView, arguments: LandingViewArguments(key: key), id: routerId, preventDuplicates: preventDuplicates, parameters: parameters, transition: transition); } Future navigateToCourseModuleView({ _i37.Key? key, required _i45.CourseModule? module, required _i44.CourseCatalog catalog, int? routerId, bool preventDuplicates = true, Map? parameters, Widget Function(BuildContext, Animation, Animation, Widget)? transition, }) async { return navigateTo(Routes.courseModuleView, arguments: CourseModuleViewArguments( key: key, module: module, catalog: catalog), id: routerId, preventDuplicates: preventDuplicates, parameters: parameters, transition: transition); } Future replaceWithHomeView({ _i37.Key? key, int? routerId, bool preventDuplicates = true, Map? parameters, Widget Function(BuildContext, Animation, Animation, Widget)? transition, }) async { return replaceWith(Routes.homeView, arguments: HomeViewArguments(key: key), id: routerId, preventDuplicates: preventDuplicates, parameters: parameters, transition: transition); } Future replaceWithOnboardingView({ _i37.Key? key, int? routerId, bool preventDuplicates = true, Map? parameters, Widget Function(BuildContext, Animation, Animation, Widget)? transition, }) async { return replaceWith(Routes.onboardingView, arguments: OnboardingViewArguments(key: key), id: routerId, preventDuplicates: preventDuplicates, parameters: parameters, transition: transition); } Future replaceWithStartupView({ _i37.Key? key, String? label, int? routerId, bool preventDuplicates = true, Map? parameters, Widget Function(BuildContext, Animation, Animation, Widget)? transition, }) async { return replaceWith(Routes.startupView, arguments: StartupViewArguments(key: key, label: label), id: routerId, preventDuplicates: preventDuplicates, parameters: parameters, transition: transition); } Future replaceWithProfileView({ _i37.Key? key, int? routerId, bool preventDuplicates = true, Map? parameters, Widget Function(BuildContext, Animation, Animation, Widget)? transition, }) async { return replaceWith(Routes.profileView, arguments: ProfileViewArguments(key: key), id: routerId, preventDuplicates: preventDuplicates, parameters: parameters, transition: transition); } Future replaceWithProfileDetailView({ _i37.Key? key, int? routerId, bool preventDuplicates = true, Map? parameters, Widget Function(BuildContext, Animation, Animation, Widget)? transition, }) async { return replaceWith(Routes.profileDetailView, arguments: ProfileDetailViewArguments(key: key), id: routerId, preventDuplicates: preventDuplicates, parameters: parameters, transition: transition); } Future replaceWithDownloadsView({ _i37.Key? key, int? routerId, bool preventDuplicates = true, Map? parameters, Widget Function(BuildContext, Animation, Animation, Widget)? transition, }) async { return replaceWith(Routes.downloadsView, arguments: DownloadsViewArguments(key: key), id: routerId, preventDuplicates: preventDuplicates, parameters: parameters, transition: transition); } Future replaceWithProgressView({ _i37.Key? key, int? routerId, bool preventDuplicates = true, Map? parameters, Widget Function(BuildContext, Animation, Animation, Widget)? transition, }) async { return replaceWith(Routes.progressView, arguments: ProgressViewArguments(key: key), id: routerId, preventDuplicates: preventDuplicates, parameters: parameters, transition: transition); } Future replaceWithAccountPrivacyView({ _i37.Key? key, int? routerId, bool preventDuplicates = true, Map? parameters, Widget Function(BuildContext, Animation, Animation, Widget)? transition, }) async { return replaceWith(Routes.accountPrivacyView, arguments: AccountPrivacyViewArguments(key: key), id: routerId, preventDuplicates: preventDuplicates, parameters: parameters, transition: transition); } Future replaceWithSupportView({ _i37.Key? key, int? routerId, bool preventDuplicates = true, Map? parameters, Widget Function(BuildContext, Animation, Animation, Widget)? transition, }) async { return replaceWith(Routes.supportView, arguments: SupportViewArguments(key: key), id: routerId, preventDuplicates: preventDuplicates, parameters: parameters, transition: transition); } Future replaceWithTelegramSupportView({ _i37.Key? key, int? routerId, bool preventDuplicates = true, Map? parameters, Widget Function(BuildContext, Animation, Animation, Widget)? transition, }) async { return replaceWith(Routes.telegramSupportView, arguments: TelegramSupportViewArguments(key: key), id: routerId, preventDuplicates: preventDuplicates, parameters: parameters, transition: transition); } Future replaceWithCallSupportView({ _i37.Key? key, int? routerId, bool preventDuplicates = true, Map? parameters, Widget Function(BuildContext, Animation, Animation, Widget)? transition, }) async { return replaceWith(Routes.callSupportView, arguments: CallSupportViewArguments(key: key), id: routerId, preventDuplicates: preventDuplicates, parameters: parameters, transition: transition); } Future replaceWithLanguageView({ _i37.Key? key, int? routerId, bool preventDuplicates = true, Map? parameters, Widget Function(BuildContext, Animation, Animation, Widget)? transition, }) async { return replaceWith(Routes.languageView, arguments: LanguageViewArguments(key: key), id: routerId, preventDuplicates: preventDuplicates, parameters: parameters, transition: transition); } Future replaceWithPrivacyPolicyView({ _i37.Key? key, int? routerId, bool preventDuplicates = true, Map? parameters, Widget Function(BuildContext, Animation, Animation, Widget)? transition, }) async { return replaceWith(Routes.privacyPolicyView, arguments: PrivacyPolicyViewArguments(key: key), id: routerId, preventDuplicates: preventDuplicates, parameters: parameters, transition: transition); } Future replaceWithTermsAndConditionsView({ _i37.Key? key, int? routerId, bool preventDuplicates = true, Map? parameters, Widget Function(BuildContext, Animation, Animation, Widget)? transition, }) async { return replaceWith(Routes.termsAndConditionsView, arguments: TermsAndConditionsViewArguments(key: key), id: routerId, preventDuplicates: preventDuplicates, parameters: parameters, transition: transition); } Future replaceWithRegisterView({ _i37.Key? key, int? routerId, bool preventDuplicates = true, Map? parameters, Widget Function(BuildContext, Animation, Animation, Widget)? transition, }) async { return replaceWith(Routes.registerView, arguments: RegisterViewArguments(key: key), id: routerId, preventDuplicates: preventDuplicates, parameters: parameters, transition: transition); } Future replaceWithLoginView({ _i37.Key? key, int? routerId, bool preventDuplicates = true, Map? parameters, Widget Function(BuildContext, Animation, Animation, Widget)? transition, }) async { return replaceWith(Routes.loginView, arguments: LoginViewArguments(key: key), id: routerId, preventDuplicates: preventDuplicates, parameters: parameters, transition: transition); } Future replaceWithLearnModuleView({ _i37.Key? key, required _i38.LearnCourse course, int? routerId, bool preventDuplicates = true, Map? parameters, Widget Function(BuildContext, Animation, Animation, Widget)? transition, }) async { return replaceWith(Routes.learnModuleView, arguments: LearnModuleViewArguments(key: key, course: course), id: routerId, preventDuplicates: preventDuplicates, parameters: parameters, transition: transition); } Future replaceWithLearnLessonView({ _i37.Key? key, required _i39.LearnModule module, int? routerId, bool preventDuplicates = true, Map? parameters, Widget Function(BuildContext, Animation, Animation, Widget)? transition, }) async { return replaceWith(Routes.learnLessonView, arguments: LearnLessonViewArguments(key: key, module: module), id: routerId, preventDuplicates: preventDuplicates, parameters: parameters, transition: transition); } Future replaceWithForgetPasswordView({ _i37.Key? key, int? routerId, bool preventDuplicates = true, Map? parameters, Widget Function(BuildContext, Animation, Animation, Widget)? transition, }) async { return replaceWith(Routes.forgetPasswordView, arguments: ForgetPasswordViewArguments(key: key), id: routerId, preventDuplicates: preventDuplicates, parameters: parameters, transition: transition); } Future replaceWithLearnLessonDetailView({ _i37.Key? key, required _i40.LearnLesson lesson, required _i39.LearnModule module, required bool hasPractice, int? routerId, bool preventDuplicates = true, Map? parameters, Widget Function(BuildContext, Animation, Animation, Widget)? transition, }) async { return replaceWith(Routes.learnLessonDetailView, arguments: LearnLessonDetailViewArguments( key: key, lesson: lesson, module: module, hasPractice: hasPractice), id: routerId, preventDuplicates: preventDuplicates, parameters: parameters, transition: transition); } Future replaceWithLearnPracticeView({ _i37.Key? key, String? level, required int id, required String label, required String title, required _i41.LearnPractices practice, required String subtitle, int? routerId, bool preventDuplicates = true, Map? parameters, Widget Function(BuildContext, Animation, Animation, Widget)? transition, }) async { return replaceWith(Routes.learnPracticeView, arguments: LearnPracticeViewArguments( key: key, level: level, id: id, label: label, title: title, practice: practice, subtitle: subtitle), id: routerId, preventDuplicates: preventDuplicates, parameters: parameters, transition: transition); } Future replaceWithCoursePaymentView({ _i37.Key? key, required _i42.Course course, int? routerId, bool preventDuplicates = true, Map? parameters, Widget Function(BuildContext, Animation, Animation, Widget)? transition, }) async { return replaceWith(Routes.coursePaymentView, arguments: CoursePaymentViewArguments(key: key, course: course), id: routerId, preventDuplicates: preventDuplicates, parameters: parameters, transition: transition); } Future replaceWithFailureView({ _i37.Key? key, required void Function() onTap, required String label, int? routerId, bool preventDuplicates = true, Map? parameters, Widget Function(BuildContext, Animation, Animation, Widget)? transition, }) async { return replaceWith(Routes.failureView, arguments: FailureViewArguments(key: key, onTap: onTap, label: label), id: routerId, preventDuplicates: preventDuplicates, parameters: parameters, transition: transition); } Future replaceWithCourseLessonDetailView({ _i37.Key? key, required _i43.CourseLesson lesson, int? routerId, bool preventDuplicates = true, Map? parameters, Widget Function(BuildContext, Animation, Animation, Widget)? transition, }) async { return replaceWith(Routes.courseLessonDetailView, arguments: CourseLessonDetailViewArguments(key: key, lesson: lesson), id: routerId, preventDuplicates: preventDuplicates, parameters: parameters, transition: transition); } Future replaceWithDuolingoView({ _i37.Key? key, int? routerId, bool preventDuplicates = true, Map? parameters, Widget Function(BuildContext, Animation, Animation, Widget)? transition, }) async { return replaceWith(Routes.duolingoView, arguments: DuolingoViewArguments(key: key), id: routerId, preventDuplicates: preventDuplicates, parameters: parameters, transition: transition); } Future replaceWithCourseView({ _i37.Key? key, int? routerId, bool preventDuplicates = true, Map? parameters, Widget Function(BuildContext, Animation, Animation, Widget)? transition, }) async { return replaceWith(Routes.courseView, arguments: CourseViewArguments(key: key), id: routerId, preventDuplicates: preventDuplicates, parameters: parameters, transition: transition); } Future replaceWithLearnProgramView({ _i37.Key? key, int? routerId, bool preventDuplicates = true, Map? parameters, Widget Function(BuildContext, Animation, Animation, Widget)? transition, }) async { return replaceWith(Routes.learnProgramView, arguments: LearnProgramViewArguments(key: key), id: routerId, preventDuplicates: preventDuplicates, parameters: parameters, transition: transition); } Future replaceWithLearnCourseView({ _i37.Key? key, required int id, int? routerId, bool preventDuplicates = true, Map? parameters, Widget Function(BuildContext, Animation, Animation, Widget)? transition, }) async { return replaceWith(Routes.learnCourseView, arguments: LearnCourseViewArguments(key: key, id: id), id: routerId, preventDuplicates: preventDuplicates, parameters: parameters, transition: transition); } Future replaceWithAssessmentView({ _i37.Key? key, required Map data, int? routerId, bool preventDuplicates = true, Map? parameters, Widget Function(BuildContext, Animation, Animation, Widget)? transition, }) async { return replaceWith(Routes.assessmentView, arguments: AssessmentViewArguments(key: key, data: data), id: routerId, preventDuplicates: preventDuplicates, parameters: parameters, transition: transition); } Future replaceWithLearnSubscriptionView({ _i37.Key? key, int? routerId, bool preventDuplicates = true, Map? parameters, Widget Function(BuildContext, Animation, Animation, Widget)? transition, }) async { return replaceWith(Routes.learnSubscriptionView, arguments: LearnSubscriptionViewArguments(key: key), id: routerId, preventDuplicates: preventDuplicates, parameters: parameters, transition: transition); } Future replaceWithArifPayView({ _i37.Key? key, required String phone, int? routerId, bool preventDuplicates = true, Map? parameters, Widget Function(BuildContext, Animation, Animation, Widget)? transition, }) async { return replaceWith(Routes.arifPayView, arguments: ArifPayViewArguments(key: key, phone: phone), id: routerId, preventDuplicates: preventDuplicates, parameters: parameters, transition: transition); } Future replaceWithCourseCatalogView({ _i37.Key? key, int? routerId, bool preventDuplicates = true, Map? parameters, Widget Function(BuildContext, Animation, Animation, Widget)? transition, }) async { return replaceWith(Routes.courseCatalogView, arguments: CourseCatalogViewArguments(key: key), id: routerId, preventDuplicates: preventDuplicates, parameters: parameters, transition: transition); } Future replaceWithCourseUnitView({ _i37.Key? key, required _i44.CourseCatalog catalog, int? routerId, bool preventDuplicates = true, Map? parameters, Widget Function(BuildContext, Animation, Animation, Widget)? transition, }) async { return replaceWith(Routes.courseUnitView, arguments: CourseUnitViewArguments(key: key, catalog: catalog), id: routerId, preventDuplicates: preventDuplicates, parameters: parameters, transition: transition); } Future replaceWithLandingView({ _i37.Key? key, int? routerId, bool preventDuplicates = true, Map? parameters, Widget Function(BuildContext, Animation, Animation, Widget)? transition, }) async { return replaceWith(Routes.landingView, arguments: LandingViewArguments(key: key), id: routerId, preventDuplicates: preventDuplicates, parameters: parameters, transition: transition); } Future replaceWithCourseModuleView({ _i37.Key? key, required _i45.CourseModule? module, required _i44.CourseCatalog catalog, int? routerId, bool preventDuplicates = true, Map? parameters, Widget Function(BuildContext, Animation, Animation, Widget)? transition, }) async { return replaceWith(Routes.courseModuleView, arguments: CourseModuleViewArguments( key: key, module: module, catalog: catalog), id: routerId, preventDuplicates: preventDuplicates, parameters: parameters, transition: transition); } }