// Mocks generated by Mockito 5.4.4 from annotations // in yimaru_app/test/helpers/test_helpers.dart. // Do not manually edit this file. // ignore_for_file: no_leading_underscores_for_library_prefixes import 'dart:async' as _i7; import 'dart:ui' as _i8; import 'package:dio/dio.dart' as _i2; import 'package:firebase_messaging/firebase_messaging.dart' as _i28; import 'package:flutter/material.dart' as _i6; import 'package:mockito/mockito.dart' as _i1; import 'package:mockito/src/dummies.dart' as _i5; import 'package:permission_handler/permission_handler.dart' as _i23; import 'package:stacked_services/stacked_services.dart' as _i4; import 'package:yimaru_app/models/assessment.dart' as _i12; import 'package:yimaru_app/models/course.dart' as _i15; import 'package:yimaru_app/models/course_category.dart' as _i13; import 'package:yimaru_app/models/course_detail.dart' as _i31; import 'package:yimaru_app/models/course_lesson.dart' as _i17; import 'package:yimaru_app/models/course_progress.dart' as _i16; import 'package:yimaru_app/models/course_subcategory.dart' as _i14; import 'package:yimaru_app/models/practice.dart' as _i18; import 'package:yimaru_app/models/practice_question.dart' as _i19; import 'package:yimaru_app/models/user_model.dart' as _i10; import 'package:yimaru_app/services/api_service.dart' as _i11; import 'package:yimaru_app/services/authentication_service.dart' as _i9; import 'package:yimaru_app/services/course_service.dart' as _i30; import 'package:yimaru_app/services/dio_service.dart' as _i20; import 'package:yimaru_app/services/google_auth_service.dart' as _i25; import 'package:yimaru_app/services/image_downloader_service.dart' as _i26; import 'package:yimaru_app/services/image_picker_service.dart' as _i24; import 'package:yimaru_app/services/notification_service.dart' as _i27; import 'package:yimaru_app/services/permission_handler_service.dart' as _i22; import 'package:yimaru_app/services/secure_storage_service.dart' as _i3; import 'package:yimaru_app/services/smart_auth_service.dart' as _i29; import 'package:yimaru_app/services/status_checker_service.dart' as _i21; // ignore_for_file: type=lint // ignore_for_file: avoid_redundant_argument_values // ignore_for_file: avoid_setters_without_getters // ignore_for_file: comment_references // ignore_for_file: deprecated_member_use // ignore_for_file: deprecated_member_use_from_same_package // ignore_for_file: implementation_imports // ignore_for_file: invalid_use_of_visible_for_testing_member // ignore_for_file: prefer_const_constructors // ignore_for_file: unnecessary_parenthesis // ignore_for_file: camel_case_types // ignore_for_file: subtype_of_sealed_class class _FakeDio_0 extends _i1.SmartFake implements _i2.Dio { _FakeDio_0( Object parent, Invocation parentInvocation, ) : super( parent, parentInvocation, ); } class _FakeSecureStorageService_1 extends _i1.SmartFake implements _i3.SecureStorageService { _FakeSecureStorageService_1( Object parent, Invocation parentInvocation, ) : super( parent, parentInvocation, ); } /// A class which mocks [NavigationService]. /// /// See the documentation for Mockito's code generation for more information. class MockNavigationService extends _i1.Mock implements _i4.NavigationService { @override String get previousRoute => (super.noSuchMethod( Invocation.getter(#previousRoute), returnValue: _i5.dummyValue( this, Invocation.getter(#previousRoute), ), returnValueForMissingStub: _i5.dummyValue( this, Invocation.getter(#previousRoute), ), ) as String); @override String get currentRoute => (super.noSuchMethod( Invocation.getter(#currentRoute), returnValue: _i5.dummyValue( this, Invocation.getter(#currentRoute), ), returnValueForMissingStub: _i5.dummyValue( this, Invocation.getter(#currentRoute), ), ) as String); @override _i6.GlobalKey<_i6.NavigatorState>? nestedNavigationKey(int? index) => (super.noSuchMethod( Invocation.method( #nestedNavigationKey, [index], ), returnValueForMissingStub: null, ) as _i6.GlobalKey<_i6.NavigatorState>?); @override void config({ bool? enableLog, bool? defaultPopGesture, bool? defaultOpaqueRoute, Duration? defaultDurationTransition, bool? defaultGlobalState, _i4.Transition? defaultTransitionStyle, String? defaultTransition, }) => super.noSuchMethod( Invocation.method( #config, [], { #enableLog: enableLog, #defaultPopGesture: defaultPopGesture, #defaultOpaqueRoute: defaultOpaqueRoute, #defaultDurationTransition: defaultDurationTransition, #defaultGlobalState: defaultGlobalState, #defaultTransitionStyle: defaultTransitionStyle, #defaultTransition: defaultTransition, }, ), returnValueForMissingStub: null, ); @override _i7.Future? navigateWithTransition( _i6.Widget? page, { bool? opaque, String? transition = r'', Duration? duration, bool? popGesture, int? id, _i6.Curve? curve, bool? fullscreenDialog = false, bool? preventDuplicates = true, _i4.Transition? transitionClass, _i4.Transition? transitionStyle, String? routeName, }) => (super.noSuchMethod( Invocation.method( #navigateWithTransition, [page], { #opaque: opaque, #transition: transition, #duration: duration, #popGesture: popGesture, #id: id, #curve: curve, #fullscreenDialog: fullscreenDialog, #preventDuplicates: preventDuplicates, #transitionClass: transitionClass, #transitionStyle: transitionStyle, #routeName: routeName, }, ), returnValueForMissingStub: null, ) as _i7.Future?); @override _i7.Future? replaceWithTransition( _i6.Widget? page, { bool? opaque, String? transition = r'', Duration? duration, bool? popGesture, int? id, _i6.Curve? curve, bool? fullscreenDialog = false, bool? preventDuplicates = true, _i4.Transition? transitionClass, _i4.Transition? transitionStyle, String? routeName, }) => (super.noSuchMethod( Invocation.method( #replaceWithTransition, [page], { #opaque: opaque, #transition: transition, #duration: duration, #popGesture: popGesture, #id: id, #curve: curve, #fullscreenDialog: fullscreenDialog, #preventDuplicates: preventDuplicates, #transitionClass: transitionClass, #transitionStyle: transitionStyle, #routeName: routeName, }, ), returnValueForMissingStub: null, ) as _i7.Future?); @override bool back({ dynamic result, int? id, }) => (super.noSuchMethod( Invocation.method( #back, [], { #result: result, #id: id, }, ), returnValue: false, returnValueForMissingStub: false, ) as bool); @override void popUntil( _i6.RoutePredicate? predicate, { int? id, }) => super.noSuchMethod( Invocation.method( #popUntil, [predicate], {#id: id}, ), returnValueForMissingStub: null, ); @override void popRepeated(int? popTimes) => super.noSuchMethod( Invocation.method( #popRepeated, [popTimes], ), returnValueForMissingStub: null, ); @override _i7.Future? navigateTo( String? routeName, { dynamic arguments, int? id, bool? preventDuplicates = true, Map? parameters, _i6.RouteTransitionsBuilder? transition, }) => (super.noSuchMethod( Invocation.method( #navigateTo, [routeName], { #arguments: arguments, #id: id, #preventDuplicates: preventDuplicates, #parameters: parameters, #transition: transition, }, ), returnValueForMissingStub: null, ) as _i7.Future?); @override _i7.Future? navigateToView( _i6.Widget? view, { dynamic arguments, int? id, bool? opaque, _i6.Curve? curve, Duration? duration, bool? fullscreenDialog = false, bool? popGesture, bool? preventDuplicates = true, _i4.Transition? transition, _i4.Transition? transitionStyle, }) => (super.noSuchMethod( Invocation.method( #navigateToView, [view], { #arguments: arguments, #id: id, #opaque: opaque, #curve: curve, #duration: duration, #fullscreenDialog: fullscreenDialog, #popGesture: popGesture, #preventDuplicates: preventDuplicates, #transition: transition, #transitionStyle: transitionStyle, }, ), returnValueForMissingStub: null, ) as _i7.Future?); @override _i7.Future? replaceWith( String? routeName, { dynamic arguments, int? id, bool? preventDuplicates = true, Map? parameters, _i6.RouteTransitionsBuilder? transition, }) => (super.noSuchMethod( Invocation.method( #replaceWith, [routeName], { #arguments: arguments, #id: id, #preventDuplicates: preventDuplicates, #parameters: parameters, #transition: transition, }, ), returnValueForMissingStub: null, ) as _i7.Future?); @override _i7.Future? clearStackAndShow( String? routeName, { dynamic arguments, int? id, Map? parameters, }) => (super.noSuchMethod( Invocation.method( #clearStackAndShow, [routeName], { #arguments: arguments, #id: id, #parameters: parameters, }, ), returnValueForMissingStub: null, ) as _i7.Future?); @override _i7.Future? clearStackAndShowView( _i6.Widget? view, { dynamic arguments, int? id, }) => (super.noSuchMethod( Invocation.method( #clearStackAndShowView, [view], { #arguments: arguments, #id: id, }, ), returnValueForMissingStub: null, ) as _i7.Future?); @override _i7.Future? clearTillFirstAndShow( String? routeName, { dynamic arguments, int? id, bool? preventDuplicates = true, Map? parameters, }) => (super.noSuchMethod( Invocation.method( #clearTillFirstAndShow, [routeName], { #arguments: arguments, #id: id, #preventDuplicates: preventDuplicates, #parameters: parameters, }, ), returnValueForMissingStub: null, ) as _i7.Future?); @override _i7.Future? clearTillFirstAndShowView( _i6.Widget? view, { dynamic arguments, int? id, }) => (super.noSuchMethod( Invocation.method( #clearTillFirstAndShowView, [view], { #arguments: arguments, #id: id, }, ), returnValueForMissingStub: null, ) as _i7.Future?); @override _i7.Future? pushNamedAndRemoveUntil( String? routeName, { _i6.RoutePredicate? predicate, dynamic arguments, int? id, }) => (super.noSuchMethod( Invocation.method( #pushNamedAndRemoveUntil, [routeName], { #predicate: predicate, #arguments: arguments, #id: id, }, ), returnValueForMissingStub: null, ) as _i7.Future?); } /// A class which mocks [BottomSheetService]. /// /// See the documentation for Mockito's code generation for more information. class MockBottomSheetService extends _i1.Mock implements _i4.BottomSheetService { @override void setCustomSheetBuilders(Map? builders) => super.noSuchMethod( Invocation.method( #setCustomSheetBuilders, [builders], ), returnValueForMissingStub: null, ); @override _i7.Future<_i4.SheetResponse?> showBottomSheet({ required String? title, String? description, String? confirmButtonTitle = r'Ok', String? cancelButtonTitle, bool? enableDrag = true, bool? barrierDismissible = true, bool? isScrollControlled = false, Duration? exitBottomSheetDuration, Duration? enterBottomSheetDuration, bool? ignoreSafeArea, bool? useRootNavigator = false, double? elevation = 1.0, }) => (super.noSuchMethod( Invocation.method( #showBottomSheet, [], { #title: title, #description: description, #confirmButtonTitle: confirmButtonTitle, #cancelButtonTitle: cancelButtonTitle, #enableDrag: enableDrag, #barrierDismissible: barrierDismissible, #isScrollControlled: isScrollControlled, #exitBottomSheetDuration: exitBottomSheetDuration, #enterBottomSheetDuration: enterBottomSheetDuration, #ignoreSafeArea: ignoreSafeArea, #useRootNavigator: useRootNavigator, #elevation: elevation, }, ), returnValue: _i7.Future<_i4.SheetResponse?>.value(), returnValueForMissingStub: _i7.Future<_i4.SheetResponse?>.value(), ) as _i7.Future<_i4.SheetResponse?>); @override _i7.Future<_i4.SheetResponse?> showCustomSheet({ dynamic variant, String? title, String? description, bool? hasImage = false, String? imageUrl, bool? showIconInMainButton = false, String? mainButtonTitle, bool? showIconInSecondaryButton = false, String? secondaryButtonTitle, bool? showIconInAdditionalButton = false, String? additionalButtonTitle, bool? takesInput = false, _i8.Color? barrierColor = const _i8.Color(2315255808), double? elevation = 1.0, bool? barrierDismissible = true, bool? isScrollControlled = false, String? barrierLabel = r'', dynamic customData, R? data, bool? enableDrag = true, Duration? exitBottomSheetDuration, Duration? enterBottomSheetDuration, bool? ignoreSafeArea, bool? useRootNavigator = false, }) => (super.noSuchMethod( Invocation.method( #showCustomSheet, [], { #variant: variant, #title: title, #description: description, #hasImage: hasImage, #imageUrl: imageUrl, #showIconInMainButton: showIconInMainButton, #mainButtonTitle: mainButtonTitle, #showIconInSecondaryButton: showIconInSecondaryButton, #secondaryButtonTitle: secondaryButtonTitle, #showIconInAdditionalButton: showIconInAdditionalButton, #additionalButtonTitle: additionalButtonTitle, #takesInput: takesInput, #barrierColor: barrierColor, #elevation: elevation, #barrierDismissible: barrierDismissible, #isScrollControlled: isScrollControlled, #barrierLabel: barrierLabel, #customData: customData, #data: data, #enableDrag: enableDrag, #exitBottomSheetDuration: exitBottomSheetDuration, #enterBottomSheetDuration: enterBottomSheetDuration, #ignoreSafeArea: ignoreSafeArea, #useRootNavigator: useRootNavigator, }, ), returnValue: _i7.Future<_i4.SheetResponse?>.value(), returnValueForMissingStub: _i7.Future<_i4.SheetResponse?>.value(), ) as _i7.Future<_i4.SheetResponse?>); @override void completeSheet(_i4.SheetResponse? response) => super.noSuchMethod( Invocation.method( #completeSheet, [response], ), returnValueForMissingStub: null, ); } /// A class which mocks [DialogService]. /// /// See the documentation for Mockito's code generation for more information. class MockDialogService extends _i1.Mock implements _i4.DialogService { @override void registerCustomDialogBuilders( Map? builders) => super.noSuchMethod( Invocation.method( #registerCustomDialogBuilders, [builders], ), returnValueForMissingStub: null, ); @override void registerCustomDialogBuilder({ required dynamic variant, required _i6.Widget Function( _i6.BuildContext, _i4.DialogRequest, dynamic Function(_i4.DialogResponse), )? builder, }) => super.noSuchMethod( Invocation.method( #registerCustomDialogBuilder, [], { #variant: variant, #builder: builder, }, ), returnValueForMissingStub: null, ); @override _i7.Future<_i4.DialogResponse?> showDialog({ String? title, String? description, String? cancelTitle, _i8.Color? cancelTitleColor, String? buttonTitle = r'Ok', _i8.Color? buttonTitleColor, bool? barrierDismissible = false, _i6.RouteSettings? routeSettings, _i6.GlobalKey<_i6.NavigatorState>? navigatorKey, _i4.DialogPlatform? dialogPlatform, }) => (super.noSuchMethod( Invocation.method( #showDialog, [], { #title: title, #description: description, #cancelTitle: cancelTitle, #cancelTitleColor: cancelTitleColor, #buttonTitle: buttonTitle, #buttonTitleColor: buttonTitleColor, #barrierDismissible: barrierDismissible, #routeSettings: routeSettings, #navigatorKey: navigatorKey, #dialogPlatform: dialogPlatform, }, ), returnValue: _i7.Future<_i4.DialogResponse?>.value(), returnValueForMissingStub: _i7.Future<_i4.DialogResponse?>.value(), ) as _i7.Future<_i4.DialogResponse?>); @override _i7.Future<_i4.DialogResponse?> showCustomDialog({ dynamic variant, String? title, String? description, bool? hasImage = false, String? imageUrl, bool? showIconInMainButton = false, String? mainButtonTitle, bool? showIconInSecondaryButton = false, String? secondaryButtonTitle, bool? showIconInAdditionalButton = false, String? additionalButtonTitle, bool? takesInput = false, _i8.Color? barrierColor = const _i8.Color(2315255808), bool? barrierDismissible = false, String? barrierLabel = r'', bool? useSafeArea = true, _i6.RouteSettings? routeSettings, _i6.GlobalKey<_i6.NavigatorState>? navigatorKey, _i6.RouteTransitionsBuilder? transitionBuilder, dynamic customData, R? data, }) => (super.noSuchMethod( Invocation.method( #showCustomDialog, [], { #variant: variant, #title: title, #description: description, #hasImage: hasImage, #imageUrl: imageUrl, #showIconInMainButton: showIconInMainButton, #mainButtonTitle: mainButtonTitle, #showIconInSecondaryButton: showIconInSecondaryButton, #secondaryButtonTitle: secondaryButtonTitle, #showIconInAdditionalButton: showIconInAdditionalButton, #additionalButtonTitle: additionalButtonTitle, #takesInput: takesInput, #barrierColor: barrierColor, #barrierDismissible: barrierDismissible, #barrierLabel: barrierLabel, #useSafeArea: useSafeArea, #routeSettings: routeSettings, #navigatorKey: navigatorKey, #transitionBuilder: transitionBuilder, #customData: customData, #data: data, }, ), returnValue: _i7.Future<_i4.DialogResponse?>.value(), returnValueForMissingStub: _i7.Future<_i4.DialogResponse?>.value(), ) as _i7.Future<_i4.DialogResponse?>); @override _i7.Future<_i4.DialogResponse?> showConfirmationDialog({ String? title, String? description, String? cancelTitle = r'Cancel', _i8.Color? cancelTitleColor, String? confirmationTitle = r'Ok', _i8.Color? confirmationTitleColor, bool? barrierDismissible = false, _i6.RouteSettings? routeSettings, _i4.DialogPlatform? dialogPlatform, }) => (super.noSuchMethod( Invocation.method( #showConfirmationDialog, [], { #title: title, #description: description, #cancelTitle: cancelTitle, #cancelTitleColor: cancelTitleColor, #confirmationTitle: confirmationTitle, #confirmationTitleColor: confirmationTitleColor, #barrierDismissible: barrierDismissible, #routeSettings: routeSettings, #dialogPlatform: dialogPlatform, }, ), returnValue: _i7.Future<_i4.DialogResponse?>.value(), returnValueForMissingStub: _i7.Future<_i4.DialogResponse?>.value(), ) as _i7.Future<_i4.DialogResponse?>); @override void completeDialog(_i4.DialogResponse? response) => super.noSuchMethod( Invocation.method( #completeDialog, [response], ), returnValueForMissingStub: null, ); } /// A class which mocks [AuthenticationService]. /// /// See the documentation for Mockito's code generation for more information. class MockAuthenticationService extends _i1.Mock implements _i9.AuthenticationService { @override int get listenersCount => (super.noSuchMethod( Invocation.getter(#listenersCount), returnValue: 0, returnValueForMissingStub: 0, ) as int); @override _i7.Future userLoggedIn() => (super.noSuchMethod( Invocation.method( #userLoggedIn, [], ), returnValue: _i7.Future.value(false), returnValueForMissingStub: _i7.Future.value(false), ) as _i7.Future); @override _i7.Future getAccessToken() => (super.noSuchMethod( Invocation.method( #getAccessToken, [], ), returnValue: _i7.Future.value(), returnValueForMissingStub: _i7.Future.value(), ) as _i7.Future); @override _i7.Future getRefreshToken() => (super.noSuchMethod( Invocation.method( #getRefreshToken, [], ), returnValue: _i7.Future.value(), returnValueForMissingStub: _i7.Future.value(), ) as _i7.Future); @override _i7.Future getUserId() => (super.noSuchMethod( Invocation.method( #getUserId, [], ), returnValue: _i7.Future.value(), returnValueForMissingStub: _i7.Future.value(), ) as _i7.Future); @override _i7.Future saveTokens({ required String? access, required String? refresh, }) => (super.noSuchMethod( Invocation.method( #saveTokens, [], { #access: access, #refresh: refresh, }, ), returnValue: _i7.Future.value(), returnValueForMissingStub: _i7.Future.value(), ) as _i7.Future); @override _i7.Future saveUserCredential(Map? data) => (super.noSuchMethod( Invocation.method( #saveUserCredential, [data], ), returnValue: _i7.Future.value(), returnValueForMissingStub: _i7.Future.value(), ) as _i7.Future); @override _i7.Future saveProfileStatus(bool? value) => (super.noSuchMethod( Invocation.method( #saveProfileStatus, [value], ), returnValue: _i7.Future.value(), returnValueForMissingStub: _i7.Future.value(), ) as _i7.Future); @override _i7.Future saveProfilePicture(String? image) => (super.noSuchMethod( Invocation.method( #saveProfilePicture, [image], ), returnValue: _i7.Future.value(), returnValueForMissingStub: _i7.Future.value(), ) as _i7.Future); @override _i7.Future saveUserData(_i10.UserModel? data) => (super.noSuchMethod( Invocation.method( #saveUserData, [data], ), returnValue: _i7.Future.value(), returnValueForMissingStub: _i7.Future.value(), ) as _i7.Future); @override _i7.Future updateUserData(Map? data) => (super.noSuchMethod( Invocation.method( #updateUserData, [data], ), returnValue: _i7.Future.value(), returnValueForMissingStub: _i7.Future.value(), ) as _i7.Future); @override _i7.Future isFirstTimeInstall() => (super.noSuchMethod( Invocation.method( #isFirstTimeInstall, [], ), returnValue: _i7.Future.value(false), returnValueForMissingStub: _i7.Future.value(false), ) as _i7.Future); @override _i7.Future setFirstTimeInstall(bool? value) => (super.noSuchMethod( Invocation.method( #setFirstTimeInstall, [value], ), returnValue: _i7.Future.value(), returnValueForMissingStub: _i7.Future.value(), ) as _i7.Future); @override _i7.Future<_i10.UserModel?> getUser() => (super.noSuchMethod( Invocation.method( #getUser, [], ), returnValue: _i7.Future<_i10.UserModel?>.value(), returnValueForMissingStub: _i7.Future<_i10.UserModel?>.value(), ) as _i7.Future<_i10.UserModel?>); @override _i7.Future logout() => (super.noSuchMethod( Invocation.method( #logout, [], ), returnValue: _i7.Future.value(), returnValueForMissingStub: _i7.Future.value(), ) as _i7.Future); @override void listenToReactiveValues(List? reactiveValues) => super.noSuchMethod( Invocation.method( #listenToReactiveValues, [reactiveValues], ), returnValueForMissingStub: null, ); @override void addListener(void Function()? listener) => super.noSuchMethod( Invocation.method( #addListener, [listener], ), returnValueForMissingStub: null, ); @override void removeListener(void Function()? listener) => super.noSuchMethod( Invocation.method( #removeListener, [listener], ), returnValueForMissingStub: null, ); @override void notifyListeners() => super.noSuchMethod( Invocation.method( #notifyListeners, [], ), returnValueForMissingStub: null, ); } /// A class which mocks [ApiService]. /// /// See the documentation for Mockito's code generation for more information. class MockApiService extends _i1.Mock implements _i11.ApiService { @override _i7.Future> registerWithEmail( Map? data) => (super.noSuchMethod( Invocation.method( #registerWithEmail, [data], ), returnValue: _i7.Future>.value({}), returnValueForMissingStub: _i7.Future>.value({}), ) as _i7.Future>); @override _i7.Future> login(Map? data) => (super.noSuchMethod( Invocation.method( #login, [data], ), returnValue: _i7.Future>.value({}), returnValueForMissingStub: _i7.Future>.value({}), ) as _i7.Future>); @override _i7.Future> googleAuth(Map? data) => (super.noSuchMethod( Invocation.method( #googleAuth, [data], ), returnValue: _i7.Future>.value({}), returnValueForMissingStub: _i7.Future>.value({}), ) as _i7.Future>); @override _i7.Future> verifyOtp(Map? data) => (super.noSuchMethod( Invocation.method( #verifyOtp, [data], ), returnValue: _i7.Future>.value({}), returnValueForMissingStub: _i7.Future>.value({}), ) as _i7.Future>); @override _i7.Future> resendOtp(Map? data) => (super.noSuchMethod( Invocation.method( #resendOtp, [data], ), returnValue: _i7.Future>.value({}), returnValueForMissingStub: _i7.Future>.value({}), ) as _i7.Future>); @override _i7.Future> requestResetCode( Map? data) => (super.noSuchMethod( Invocation.method( #requestResetCode, [data], ), returnValue: _i7.Future>.value({}), returnValueForMissingStub: _i7.Future>.value({}), ) as _i7.Future>); @override _i7.Future> resetPassword(Map? data) => (super.noSuchMethod( Invocation.method( #resetPassword, [data], ), returnValue: _i7.Future>.value({}), returnValueForMissingStub: _i7.Future>.value({}), ) as _i7.Future>); @override _i7.Future> getProfileStatus(_i10.UserModel? user) => (super.noSuchMethod( Invocation.method( #getProfileStatus, [user], ), returnValue: _i7.Future>.value({}), returnValueForMissingStub: _i7.Future>.value({}), ) as _i7.Future>); @override _i7.Future> getProfileData(int? userId) => (super.noSuchMethod( Invocation.method( #getProfileData, [userId], ), returnValue: _i7.Future>.value({}), returnValueForMissingStub: _i7.Future>.value({}), ) as _i7.Future>); @override _i7.Future> completeProfile( Map? data) => (super.noSuchMethod( Invocation.method( #completeProfile, [data], ), returnValue: _i7.Future>.value({}), returnValueForMissingStub: _i7.Future>.value({}), ) as _i7.Future>); @override _i7.Future> updateProfileImage({ required int? userId, required Map? data, }) => (super.noSuchMethod( Invocation.method( #updateProfileImage, [], { #userId: userId, #data: data, }, ), returnValue: _i7.Future>.value({}), returnValueForMissingStub: _i7.Future>.value({}), ) as _i7.Future>); @override _i7.Future> getAssessments() => (super.noSuchMethod( Invocation.method( #getAssessments, [], ), returnValue: _i7.Future>.value(<_i12.Assessment>[]), returnValueForMissingStub: _i7.Future>.value(<_i12.Assessment>[]), ) as _i7.Future>); @override _i7.Future> getCourseCategories() => (super.noSuchMethod( Invocation.method( #getCourseCategories, [], ), returnValue: _i7.Future>.value( <_i13.CourseCategory>[]), returnValueForMissingStub: _i7.Future>.value( <_i13.CourseCategory>[]), ) as _i7.Future>); @override _i7.Future> getCourseSubcategories(int? id) => (super.noSuchMethod( Invocation.method( #getCourseSubcategories, [id], ), returnValue: _i7.Future>.value( <_i14.CourseSubcategory>[]), returnValueForMissingStub: _i7.Future>.value( <_i14.CourseSubcategory>[]), ) as _i7.Future>); @override _i7.Future> getCourses(int? id) => (super.noSuchMethod( Invocation.method( #getCourses, [id], ), returnValue: _i7.Future>.value(<_i15.Course>[]), returnValueForMissingStub: _i7.Future>.value(<_i15.Course>[]), ) as _i7.Future>); @override _i7.Future> getCourseProgress(int? id) => (super.noSuchMethod( Invocation.method( #getCourseProgress, [id], ), returnValue: _i7.Future>.value( <_i16.CourseProgress>[]), returnValueForMissingStub: _i7.Future>.value( <_i16.CourseProgress>[]), ) as _i7.Future>); @override _i7.Future> getCourseLessons(int? id) => (super.noSuchMethod( Invocation.method( #getCourseLessons, [id], ), returnValue: _i7.Future>.value(<_i17.CourseLesson>[]), returnValueForMissingStub: _i7.Future>.value(<_i17.CourseLesson>[]), ) as _i7.Future>); @override _i7.Future> completeLesson(int? id) => (super.noSuchMethod( Invocation.method( #completeLesson, [id], ), returnValue: _i7.Future>.value({}), returnValueForMissingStub: _i7.Future>.value({}), ) as _i7.Future>); @override _i7.Future> getCoursePractices( Map? data) => (super.noSuchMethod( Invocation.method( #getCoursePractices, [data], ), returnValue: _i7.Future>.value(<_i18.Practice>[]), returnValueForMissingStub: _i7.Future>.value(<_i18.Practice>[]), ) as _i7.Future>); @override _i7.Future> getCoursePracticeQuestions(int? id) => (super.noSuchMethod( Invocation.method( #getCoursePracticeQuestions, [id], ), returnValue: _i7.Future>.value( <_i19.PracticeQuestion>[]), returnValueForMissingStub: _i7.Future>.value( <_i19.PracticeQuestion>[]), ) as _i7.Future>); } /// A class which mocks [SecureStorageService]. /// /// See the documentation for Mockito's code generation for more information. class MockSecureStorageService extends _i1.Mock implements _i3.SecureStorageService { @override _i7.Future clear() => (super.noSuchMethod( Invocation.method( #clear, [], ), returnValue: _i7.Future.value(), returnValueForMissingStub: _i7.Future.value(), ) as _i7.Future); @override _i7.Future getBool(String? key) => (super.noSuchMethod( Invocation.method( #getBool, [key], ), returnValue: _i7.Future.value(), returnValueForMissingStub: _i7.Future.value(), ) as _i7.Future); @override _i7.Future getString(String? key) => (super.noSuchMethod( Invocation.method( #getString, [key], ), returnValue: _i7.Future.value(), returnValueForMissingStub: _i7.Future.value(), ) as _i7.Future); @override _i7.Future getInt(String? key) => (super.noSuchMethod( Invocation.method( #getInt, [key], ), returnValue: _i7.Future.value(), returnValueForMissingStub: _i7.Future.value(), ) as _i7.Future); @override _i7.Future setString( String? key, String? value, ) => (super.noSuchMethod( Invocation.method( #setString, [ key, value, ], ), returnValue: _i7.Future.value(), returnValueForMissingStub: _i7.Future.value(), ) as _i7.Future); @override _i7.Future setInt( String? key, int? value, ) => (super.noSuchMethod( Invocation.method( #setInt, [ key, value, ], ), returnValue: _i7.Future.value(), returnValueForMissingStub: _i7.Future.value(), ) as _i7.Future); @override _i7.Future setBool( String? key, bool? value, ) => (super.noSuchMethod( Invocation.method( #setBool, [ key, value, ], ), returnValue: _i7.Future.value(), returnValueForMissingStub: _i7.Future.value(), ) as _i7.Future); } /// A class which mocks [DioService]. /// /// See the documentation for Mockito's code generation for more information. class MockDioService extends _i1.Mock implements _i20.DioService { @override _i2.Dio get dio => (super.noSuchMethod( Invocation.getter(#dio), returnValue: _FakeDio_0( this, Invocation.getter(#dio), ), returnValueForMissingStub: _FakeDio_0( this, Invocation.getter(#dio), ), ) as _i2.Dio); } /// A class which mocks [StatusCheckerService]. /// /// See the documentation for Mockito's code generation for more information. class MockStatusCheckerService extends _i1.Mock implements _i21.StatusCheckerService { @override _i3.SecureStorageService get storage => (super.noSuchMethod( Invocation.getter(#storage), returnValue: _FakeSecureStorageService_1( this, Invocation.getter(#storage), ), returnValueForMissingStub: _FakeSecureStorageService_1( this, Invocation.getter(#storage), ), ) as _i3.SecureStorageService); @override bool get previousConnection => (super.noSuchMethod( Invocation.getter(#previousConnection), returnValue: false, returnValueForMissingStub: false, ) as bool); @override _i7.Future getBatteryLevel() => (super.noSuchMethod( Invocation.method( #getBatteryLevel, [], ), returnValue: _i7.Future.value(0), returnValueForMissingStub: _i7.Future.value(0), ) as _i7.Future); @override _i7.Future checkConnection() => (super.noSuchMethod( Invocation.method( #checkConnection, [], ), returnValue: _i7.Future.value(false), returnValueForMissingStub: _i7.Future.value(false), ) as _i7.Future); @override _i7.Future getAvailableStorage() => (super.noSuchMethod( Invocation.method( #getAvailableStorage, [], ), returnValue: _i7.Future.value(0), returnValueForMissingStub: _i7.Future.value(0), ) as _i7.Future); @override _i7.Future checkAndUpdate() => (super.noSuchMethod( Invocation.method( #checkAndUpdate, [], ), returnValue: _i7.Future.value(), returnValueForMissingStub: _i7.Future.value(), ) as _i7.Future); } /// A class which mocks [PermissionHandlerService]. /// /// See the documentation for Mockito's code generation for more information. class MockPermissionHandlerService extends _i1.Mock implements _i22.PermissionHandlerService { @override _i7.Future<_i23.PermissionStatus> requestPermission( _i23.Permission? requestedPermission) => (super.noSuchMethod( Invocation.method( #requestPermission, [requestedPermission], ), returnValue: _i7.Future<_i23.PermissionStatus>.value( _i23.PermissionStatus.denied), returnValueForMissingStub: _i7.Future<_i23.PermissionStatus>.value( _i23.PermissionStatus.denied), ) as _i7.Future<_i23.PermissionStatus>); @override _i7.Future<_i23.PermissionStatus> request(_i23.Permission? permission) => (super.noSuchMethod( Invocation.method( #request, [permission], ), returnValue: _i7.Future<_i23.PermissionStatus>.value( _i23.PermissionStatus.denied), returnValueForMissingStub: _i7.Future<_i23.PermissionStatus>.value( _i23.PermissionStatus.denied), ) as _i7.Future<_i23.PermissionStatus>); } /// A class which mocks [ImagePickerService]. /// /// See the documentation for Mockito's code generation for more information. class MockImagePickerService extends _i1.Mock implements _i24.ImagePickerService { @override _i7.Future gallery() => (super.noSuchMethod( Invocation.method( #gallery, [], ), returnValue: _i7.Future.value(), returnValueForMissingStub: _i7.Future.value(), ) as _i7.Future); @override _i7.Future camera() => (super.noSuchMethod( Invocation.method( #camera, [], ), returnValue: _i7.Future.value(), returnValueForMissingStub: _i7.Future.value(), ) as _i7.Future); } /// A class which mocks [GoogleAuthService]. /// /// See the documentation for Mockito's code generation for more information. class MockGoogleAuthService extends _i1.Mock implements _i25.GoogleAuthService { @override int get listenersCount => (super.noSuchMethod( Invocation.getter(#listenersCount), returnValue: 0, returnValueForMissingStub: 0, ) as int); @override _i7.Future logout() => (super.noSuchMethod( Invocation.method( #logout, [], ), returnValue: _i7.Future.value(), returnValueForMissingStub: _i7.Future.value(), ) as _i7.Future); @override _i7.Future googleAuth() => (super.noSuchMethod( Invocation.method( #googleAuth, [], ), returnValue: _i7.Future.value(), returnValueForMissingStub: _i7.Future.value(), ) as _i7.Future); @override void listenToReactiveValues(List? reactiveValues) => super.noSuchMethod( Invocation.method( #listenToReactiveValues, [reactiveValues], ), returnValueForMissingStub: null, ); @override void addListener(void Function()? listener) => super.noSuchMethod( Invocation.method( #addListener, [listener], ), returnValueForMissingStub: null, ); @override void removeListener(void Function()? listener) => super.noSuchMethod( Invocation.method( #removeListener, [listener], ), returnValueForMissingStub: null, ); @override void notifyListeners() => super.noSuchMethod( Invocation.method( #notifyListeners, [], ), returnValueForMissingStub: null, ); } /// A class which mocks [ImageDownloaderService]. /// /// See the documentation for Mockito's code generation for more information. class MockImageDownloaderService extends _i1.Mock implements _i26.ImageDownloaderService { @override _i7.Future downloader(String? networkImage) => (super.noSuchMethod( Invocation.method( #downloader, [networkImage], ), returnValue: _i7.Future.value(_i5.dummyValue( this, Invocation.method( #downloader, [networkImage], ), )), returnValueForMissingStub: _i7.Future.value(_i5.dummyValue( this, Invocation.method( #downloader, [networkImage], ), )), ) as _i7.Future); } /// A class which mocks [NotificationService]. /// /// See the documentation for Mockito's code generation for more information. class MockNotificationService extends _i1.Mock implements _i27.NotificationService { @override _i7.Future initialize() => (super.noSuchMethod( Invocation.method( #initialize, [], ), returnValue: _i7.Future.value(), returnValueForMissingStub: _i7.Future.value(), ) as _i7.Future); @override _i7.Future setupFlutterNotifications() => (super.noSuchMethod( Invocation.method( #setupFlutterNotifications, [], ), returnValue: _i7.Future.value(), returnValueForMissingStub: _i7.Future.value(), ) as _i7.Future); @override _i7.Future showNotification(_i28.RemoteMessage? message) => (super.noSuchMethod( Invocation.method( #showNotification, [message], ), returnValue: _i7.Future.value(), returnValueForMissingStub: _i7.Future.value(), ) as _i7.Future); @override _i7.Future subscribeToTopic(String? topic) => (super.noSuchMethod( Invocation.method( #subscribeToTopic, [topic], ), returnValue: _i7.Future.value(), returnValueForMissingStub: _i7.Future.value(), ) as _i7.Future); @override _i7.Future updateFCMToken() => (super.noSuchMethod( Invocation.method( #updateFCMToken, [], ), returnValue: _i7.Future.value(), returnValueForMissingStub: _i7.Future.value(), ) as _i7.Future); } /// A class which mocks [SmartAuthService]. /// /// See the documentation for Mockito's code generation for more information. class MockSmartAuthService extends _i1.Mock implements _i29.SmartAuthService { @override bool get listenForMultipleSms => (super.noSuchMethod( Invocation.getter(#listenForMultipleSms), returnValue: false, returnValueForMissingStub: false, ) as bool); @override _i7.Future dispose() => (super.noSuchMethod( Invocation.method( #dispose, [], ), returnValue: _i7.Future.value(), returnValueForMissingStub: _i7.Future.value(), ) as _i7.Future); @override _i7.Future getSmsCode() => (super.noSuchMethod( Invocation.method( #getSmsCode, [], ), returnValue: _i7.Future.value(), returnValueForMissingStub: _i7.Future.value(), ) as _i7.Future); } /// A class which mocks [CourseService]. /// /// See the documentation for Mockito's code generation for more information. class MockCourseService extends _i1.Mock implements _i30.CourseService { @override _i7.Future> getCoursesDetail(int? id) => (super.noSuchMethod( Invocation.method( #getCoursesDetail, [id], ), returnValue: _i7.Future>.value(<_i31.CourseDetail>[]), returnValueForMissingStub: _i7.Future>.value(<_i31.CourseDetail>[]), ) as _i7.Future>); }