// 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/category.dart' as _i44; import 'package:yimaru_app/models/course.dart' as _i42; import 'package:yimaru_app/models/course_lesson.dart' as _i43; 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/models/subcategory.dart' as _i45; 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/assessment/assessment_view.dart' as _i36; 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 _i32; import 'package:yimaru_app/ui/views/course_category/course_category_view.dart' as _i26; import 'package:yimaru_app/ui/views/course_lesson/course_lesson_view.dart' as _i28; import 'package:yimaru_app/ui/views/course_lesson_detail/course_lesson_detail_view.dart' as _i29; import 'package:yimaru_app/ui/views/course_payment/course_payment_view.dart' as _i25; import 'package:yimaru_app/ui/views/course_practice/course_practice_view.dart' as _i24; import 'package:yimaru_app/ui/views/course_practice_question/course_practice_question_view.dart' as _i33; import 'package:yimaru_app/ui/views/course_subcategory/course_subcategory_view.dart' as _i31; import 'package:yimaru_app/ui/views/downloads/downloads_view.dart' as _i7; import 'package:yimaru_app/ui/views/duolingo/duolingo_view.dart' as _i30; import 'package:yimaru_app/ui/views/failure/failure_view.dart' as _i27; import 'package:yimaru_app/ui/views/forget_password/forget_password_view.dart' as _i21; import 'package:yimaru_app/ui/views/home/home_view.dart' as _i2; 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 _i35; import 'package:yimaru_app/ui/views/learn_lesson/learn_lesson_view.dart' as _i20; import 'package:yimaru_app/ui/views/learn_lesson_detail/learn_lesson_detail_view.dart' as _i22; 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 _i23; import 'package:yimaru_app/ui/views/learn_program/learn_program_view.dart' as _i34; 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; import 'package:yimaru_app/ui/views/welcome/welcome_view.dart' as _i19; 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 welcomeView = '/welcome-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 coursePracticeView = '/course-practice-view'; static const coursePaymentView = '/course-payment-view'; static const courseCategoryView = '/course-category-view'; static const failureView = '/failure-view'; static const courseLessonView = '/course-lesson-view'; static const courseLessonDetailView = '/course-lesson-detail-view'; static const duolingoView = '/duolingo-view'; static const courseSubcategoryView = '/course-subcategory-view'; static const courseView = '/course-view'; static const coursePracticeQuestionView = '/course-practice-question-view'; static const learnProgramView = '/learn-program-view'; static const learnCourseView = '/learn-course-view'; static const assessmentView = '/assessment-view'; static const all = { homeView, onboardingView, startupView, profileView, profileDetailView, downloadsView, progressView, accountPrivacyView, supportView, telegramSupportView, callSupportView, languageView, privacyPolicyView, termsAndConditionsView, registerView, loginView, learnModuleView, welcomeView, learnLessonView, forgetPasswordView, learnLessonDetailView, learnPracticeView, coursePracticeView, coursePaymentView, courseCategoryView, failureView, courseLessonView, courseLessonDetailView, duolingoView, courseSubcategoryView, courseView, coursePracticeQuestionView, learnProgramView, learnCourseView, assessmentView, }; } 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.welcomeView, page: _i19.WelcomeView, ), _i1.RouteDef( Routes.learnLessonView, page: _i20.LearnLessonView, ), _i1.RouteDef( Routes.forgetPasswordView, page: _i21.ForgetPasswordView, ), _i1.RouteDef( Routes.learnLessonDetailView, page: _i22.LearnLessonDetailView, ), _i1.RouteDef( Routes.learnPracticeView, page: _i23.LearnPracticeView, ), _i1.RouteDef( Routes.coursePracticeView, page: _i24.CoursePracticeView, ), _i1.RouteDef( Routes.coursePaymentView, page: _i25.CoursePaymentView, ), _i1.RouteDef( Routes.courseCategoryView, page: _i26.CourseCategoryView, ), _i1.RouteDef( Routes.failureView, page: _i27.FailureView, ), _i1.RouteDef( Routes.courseLessonView, page: _i28.CourseLessonView, ), _i1.RouteDef( Routes.courseLessonDetailView, page: _i29.CourseLessonDetailView, ), _i1.RouteDef( Routes.duolingoView, page: _i30.DuolingoView, ), _i1.RouteDef( Routes.courseSubcategoryView, page: _i31.CourseSubcategoryView, ), _i1.RouteDef( Routes.courseView, page: _i32.CourseView, ), _i1.RouteDef( Routes.coursePracticeQuestionView, page: _i33.CoursePracticeQuestionView, ), _i1.RouteDef( Routes.learnProgramView, page: _i34.LearnProgramView, ), _i1.RouteDef( Routes.learnCourseView, page: _i35.LearnCourseView, ), _i1.RouteDef( Routes.assessmentView, page: _i36.AssessmentView, ), ]; 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.WelcomeView: (data) { final args = data.getArgs( orElse: () => const WelcomeViewArguments(), ); return _i37.MaterialPageRoute( builder: (context) => _i19.WelcomeView(key: args.key), settings: data, ); }, _i20.LearnLessonView: (data) { final args = data.getArgs(nullOk: false); return _i37.MaterialPageRoute( builder: (context) => _i20.LearnLessonView(key: args.key, module: args.module), settings: data, ); }, _i21.ForgetPasswordView: (data) { final args = data.getArgs( orElse: () => const ForgetPasswordViewArguments(), ); return _i37.MaterialPageRoute( builder: (context) => _i21.ForgetPasswordView(key: args.key), settings: data, ); }, _i22.LearnLessonDetailView: (data) { final args = data.getArgs(nullOk: false); return _i37.MaterialPageRoute( builder: (context) => _i22.LearnLessonDetailView(key: args.key, lesson: args.lesson), settings: data, ); }, _i23.LearnPracticeView: (data) { final args = data.getArgs(nullOk: false); return _i37.MaterialPageRoute( builder: (context) => _i23.LearnPracticeView( key: args.key, id: args.id, practice: args.practice), settings: data, ); }, _i24.CoursePracticeView: (data) { final args = data.getArgs(nullOk: false); return _i37.MaterialPageRoute( builder: (context) => _i24.CoursePracticeView(key: args.key, id: args.id), settings: data, ); }, _i25.CoursePaymentView: (data) { final args = data.getArgs(nullOk: false); return _i37.MaterialPageRoute( builder: (context) => _i25.CoursePaymentView(key: args.key, course: args.course), settings: data, ); }, _i26.CourseCategoryView: (data) { final args = data.getArgs( orElse: () => const CourseCategoryViewArguments(), ); return _i37.MaterialPageRoute( builder: (context) => _i26.CourseCategoryView(key: args.key), settings: data, ); }, _i27.FailureView: (data) { final args = data.getArgs(nullOk: false); return _i37.MaterialPageRoute( builder: (context) => _i27.FailureView( key: args.key, onTap: args.onTap, label: args.label), settings: data, ); }, _i28.CourseLessonView: (data) { final args = data.getArgs(nullOk: false); return _i37.MaterialPageRoute( builder: (context) => _i28.CourseLessonView(key: args.key, course: args.course), settings: data, ); }, _i29.CourseLessonDetailView: (data) { final args = data.getArgs(nullOk: false); return _i37.MaterialPageRoute( builder: (context) => _i29.CourseLessonDetailView(key: args.key, lesson: args.lesson), settings: data, ); }, _i30.DuolingoView: (data) { final args = data.getArgs( orElse: () => const DuolingoViewArguments(), ); return _i37.MaterialPageRoute( builder: (context) => _i30.DuolingoView(key: args.key), settings: data, ); }, _i31.CourseSubcategoryView: (data) { final args = data.getArgs(nullOk: false); return _i37.MaterialPageRoute( builder: (context) => _i31.CourseSubcategoryView(key: args.key, category: args.category), settings: data, ); }, _i32.CourseView: (data) { final args = data.getArgs(nullOk: false); return _i37.MaterialPageRoute( builder: (context) => _i32.CourseView(key: args.key, subcategory: args.subcategory), settings: data, ); }, _i33.CoursePracticeQuestionView: (data) { final args = data.getArgs(nullOk: false); return _i37.MaterialPageRoute( builder: (context) => _i33.CoursePracticeQuestionView(key: args.key, id: args.id), settings: data, ); }, _i34.LearnProgramView: (data) { final args = data.getArgs( orElse: () => const LearnProgramViewArguments(), ); return _i37.MaterialPageRoute( builder: (context) => _i34.LearnProgramView(key: args.key), settings: data, ); }, _i35.LearnCourseView: (data) { final args = data.getArgs(nullOk: false); return _i37.MaterialPageRoute( builder: (context) => _i35.LearnCourseView(key: args.key, id: args.id), settings: data, ); }, _i36.AssessmentView: (data) { final args = data.getArgs(nullOk: false); return _i37.MaterialPageRoute( builder: (context) => _i36.AssessmentView(key: args.key, data: args.data), 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 = 'Loading', }); 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 WelcomeViewArguments { const WelcomeViewArguments({this.key}); final _i37.Key? key; @override String toString() { return '{"key": "$key"}'; } @override bool operator ==(covariant WelcomeViewArguments other) { if (identical(this, other)) return true; return other.key == key; } @override int get hashCode { return key.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, }); final _i37.Key? key; final _i40.LearnLesson lesson; @override String toString() { return '{"key": "$key", "lesson": "$lesson"}'; } @override bool operator ==(covariant LearnLessonDetailViewArguments other) { if (identical(this, other)) return true; return other.key == key && other.lesson == lesson; } @override int get hashCode { return key.hashCode ^ lesson.hashCode; } } class LearnPracticeViewArguments { const LearnPracticeViewArguments({ this.key, required this.id, required this.practice, }); final _i37.Key? key; final int id; final _i41.LearnPractices practice; @override String toString() { return '{"key": "$key", "id": "$id", "practice": "$practice"}'; } @override bool operator ==(covariant LearnPracticeViewArguments other) { if (identical(this, other)) return true; return other.key == key && other.id == id && other.practice == practice; } @override int get hashCode { return key.hashCode ^ id.hashCode ^ practice.hashCode; } } class CoursePracticeViewArguments { const CoursePracticeViewArguments({ this.key, required this.id, }); final _i37.Key? key; final int id; @override String toString() { return '{"key": "$key", "id": "$id"}'; } @override bool operator ==(covariant CoursePracticeViewArguments other) { if (identical(this, other)) return true; return other.key == key && other.id == id; } @override int get hashCode { return key.hashCode ^ id.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 CourseCategoryViewArguments { const CourseCategoryViewArguments({this.key}); final _i37.Key? key; @override String toString() { return '{"key": "$key"}'; } @override bool operator ==(covariant CourseCategoryViewArguments other) { if (identical(this, other)) return true; return other.key == key; } @override int get hashCode { return key.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 CourseLessonViewArguments { const CourseLessonViewArguments({ 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 CourseLessonViewArguments other) { if (identical(this, other)) return true; return other.key == key && other.course == course; } @override int get hashCode { return key.hashCode ^ course.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 CourseSubcategoryViewArguments { const CourseSubcategoryViewArguments({ this.key, required this.category, }); final _i37.Key? key; final _i44.Category category; @override String toString() { return '{"key": "$key", "category": "$category"}'; } @override bool operator ==(covariant CourseSubcategoryViewArguments other) { if (identical(this, other)) return true; return other.key == key && other.category == category; } @override int get hashCode { return key.hashCode ^ category.hashCode; } } class CourseViewArguments { const CourseViewArguments({ this.key, required this.subcategory, }); final _i37.Key? key; final _i45.Subcategory subcategory; @override String toString() { return '{"key": "$key", "subcategory": "$subcategory"}'; } @override bool operator ==(covariant CourseViewArguments other) { if (identical(this, other)) return true; return other.key == key && other.subcategory == subcategory; } @override int get hashCode { return key.hashCode ^ subcategory.hashCode; } } class CoursePracticeQuestionViewArguments { const CoursePracticeQuestionViewArguments({ this.key, required this.id, }); final _i37.Key? key; final int id; @override String toString() { return '{"key": "$key", "id": "$id"}'; } @override bool operator ==(covariant CoursePracticeQuestionViewArguments other) { if (identical(this, other)) return true; return other.key == key && other.id == id; } @override int get hashCode { return key.hashCode ^ id.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; } } 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 = 'Loading', 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 navigateToWelcomeView({ _i37.Key? key, int? routerId, bool preventDuplicates = true, Map? parameters, Widget Function(BuildContext, Animation, Animation, Widget)? transition, }) async { return navigateTo(Routes.welcomeView, arguments: WelcomeViewArguments(key: key), 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, 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), id: routerId, preventDuplicates: preventDuplicates, parameters: parameters, transition: transition); } Future navigateToLearnPracticeView({ _i37.Key? key, required int id, required _i41.LearnPractices practice, int? routerId, bool preventDuplicates = true, Map? parameters, Widget Function(BuildContext, Animation, Animation, Widget)? transition, }) async { return navigateTo(Routes.learnPracticeView, arguments: LearnPracticeViewArguments(key: key, id: id, practice: practice), id: routerId, preventDuplicates: preventDuplicates, parameters: parameters, transition: transition); } Future navigateToCoursePracticeView({ _i37.Key? key, required int id, int? routerId, bool preventDuplicates = true, Map? parameters, Widget Function(BuildContext, Animation, Animation, Widget)? transition, }) async { return navigateTo(Routes.coursePracticeView, arguments: CoursePracticeViewArguments(key: key, id: id), 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 navigateToCourseCategoryView({ _i37.Key? key, int? routerId, bool preventDuplicates = true, Map? parameters, Widget Function(BuildContext, Animation, Animation, Widget)? transition, }) async { return navigateTo(Routes.courseCategoryView, arguments: CourseCategoryViewArguments(key: key), 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 navigateToCourseLessonView({ _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.courseLessonView, arguments: CourseLessonViewArguments(key: key, course: course), 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 navigateToCourseSubcategoryView({ _i37.Key? key, required _i44.Category category, int? routerId, bool preventDuplicates = true, Map? parameters, Widget Function(BuildContext, Animation, Animation, Widget)? transition, }) async { return navigateTo(Routes.courseSubcategoryView, arguments: CourseSubcategoryViewArguments(key: key, category: category), id: routerId, preventDuplicates: preventDuplicates, parameters: parameters, transition: transition); } Future navigateToCourseView({ _i37.Key? key, required _i45.Subcategory subcategory, int? routerId, bool preventDuplicates = true, Map? parameters, Widget Function(BuildContext, Animation, Animation, Widget)? transition, }) async { return navigateTo(Routes.courseView, arguments: CourseViewArguments(key: key, subcategory: subcategory), id: routerId, preventDuplicates: preventDuplicates, parameters: parameters, transition: transition); } Future navigateToCoursePracticeQuestionView({ _i37.Key? key, required int id, int? routerId, bool preventDuplicates = true, Map? parameters, Widget Function(BuildContext, Animation, Animation, Widget)? transition, }) async { return navigateTo(Routes.coursePracticeQuestionView, arguments: CoursePracticeQuestionViewArguments(key: key, id: id), 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 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 = 'Loading', 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 replaceWithWelcomeView({ _i37.Key? key, int? routerId, bool preventDuplicates = true, Map? parameters, Widget Function(BuildContext, Animation, Animation, Widget)? transition, }) async { return replaceWith(Routes.welcomeView, arguments: WelcomeViewArguments(key: key), 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, 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), id: routerId, preventDuplicates: preventDuplicates, parameters: parameters, transition: transition); } Future replaceWithLearnPracticeView({ _i37.Key? key, required int id, required _i41.LearnPractices practice, int? routerId, bool preventDuplicates = true, Map? parameters, Widget Function(BuildContext, Animation, Animation, Widget)? transition, }) async { return replaceWith(Routes.learnPracticeView, arguments: LearnPracticeViewArguments(key: key, id: id, practice: practice), id: routerId, preventDuplicates: preventDuplicates, parameters: parameters, transition: transition); } Future replaceWithCoursePracticeView({ _i37.Key? key, required int id, int? routerId, bool preventDuplicates = true, Map? parameters, Widget Function(BuildContext, Animation, Animation, Widget)? transition, }) async { return replaceWith(Routes.coursePracticeView, arguments: CoursePracticeViewArguments(key: key, id: id), 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 replaceWithCourseCategoryView({ _i37.Key? key, int? routerId, bool preventDuplicates = true, Map? parameters, Widget Function(BuildContext, Animation, Animation, Widget)? transition, }) async { return replaceWith(Routes.courseCategoryView, arguments: CourseCategoryViewArguments(key: key), 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 replaceWithCourseLessonView({ _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.courseLessonView, arguments: CourseLessonViewArguments(key: key, course: course), 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 replaceWithCourseSubcategoryView({ _i37.Key? key, required _i44.Category category, int? routerId, bool preventDuplicates = true, Map? parameters, Widget Function(BuildContext, Animation, Animation, Widget)? transition, }) async { return replaceWith(Routes.courseSubcategoryView, arguments: CourseSubcategoryViewArguments(key: key, category: category), id: routerId, preventDuplicates: preventDuplicates, parameters: parameters, transition: transition); } Future replaceWithCourseView({ _i37.Key? key, required _i45.Subcategory subcategory, int? routerId, bool preventDuplicates = true, Map? parameters, Widget Function(BuildContext, Animation, Animation, Widget)? transition, }) async { return replaceWith(Routes.courseView, arguments: CourseViewArguments(key: key, subcategory: subcategory), id: routerId, preventDuplicates: preventDuplicates, parameters: parameters, transition: transition); } Future replaceWithCoursePracticeQuestionView({ _i37.Key? key, required int id, int? routerId, bool preventDuplicates = true, Map? parameters, Widget Function(BuildContext, Animation, Animation, Widget)? transition, }) async { return replaceWith(Routes.coursePracticeQuestionView, arguments: CoursePracticeQuestionViewArguments(key: key, id: id), 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); } }