// dart format width=80 // GENERATED CODE - DO NOT MODIFY BY HAND // ************************************************************************** // InjectableConfigGenerator // ************************************************************************** // ignore_for_file: type=lint // coverage:ignore-file // ignore_for_file: no_leading_underscores_for_library_prefixes import 'package:apskel_owner_flutter/application/analytic/category_analytic_loader/category_analytic_loader_bloc.dart' as _i1038; import 'package:apskel_owner_flutter/application/analytic/dashboard_analytic_loader/dashboard_analytic_loader_bloc.dart' as _i516; import 'package:apskel_owner_flutter/application/analytic/inventory_analytic_loader/inventory_analytic_loader_bloc.dart' as _i785; import 'package:apskel_owner_flutter/application/analytic/payment_method_analytic_loader/payment_method_analytic_loader_bloc.dart' as _i552; import 'package:apskel_owner_flutter/application/analytic/product_analytic_loader/product_analytic_loader_bloc.dart' as _i221; import 'package:apskel_owner_flutter/application/analytic/profit_loss_loader/profit_loss_loader_bloc.dart' as _i11; import 'package:apskel_owner_flutter/application/analytic/sales_loader/sales_loader_bloc.dart' as _i889; import 'package:apskel_owner_flutter/application/auth/auth_bloc.dart' as _i945; import 'package:apskel_owner_flutter/application/auth/login_form/login_form_bloc.dart' as _i775; import 'package:apskel_owner_flutter/application/auth/logout_form/logout_form_bloc.dart' as _i574; import 'package:apskel_owner_flutter/application/category/category_loader/category_loader_bloc.dart' as _i183; import 'package:apskel_owner_flutter/application/customer/customer_loader/customer_loader_bloc.dart' as _i972; import 'package:apskel_owner_flutter/application/home/home_bloc.dart' as _i473; import 'package:apskel_owner_flutter/application/language/language_bloc.dart' as _i455; import 'package:apskel_owner_flutter/application/order/order_loader/order_loader_bloc.dart' as _i1058; import 'package:apskel_owner_flutter/application/outlet/current_outlet_loader/current_outlet_loader_bloc.dart' as _i337; import 'package:apskel_owner_flutter/application/product/product_loader/product_loader_bloc.dart' as _i458; import 'package:apskel_owner_flutter/application/user/change_password_form/change_password_form_bloc.dart' as _i1030; import 'package:apskel_owner_flutter/application/user/user_edit_form/user_edit_form_bloc.dart' as _i147; import 'package:apskel_owner_flutter/common/api/api_client.dart' as _i115; import 'package:apskel_owner_flutter/common/di/di_auto_route.dart' as _i311; import 'package:apskel_owner_flutter/common/di/di_connectivity.dart' as _i586; import 'package:apskel_owner_flutter/common/di/di_dio.dart' as _i103; import 'package:apskel_owner_flutter/common/di/di_package_info.dart' as _i227; import 'package:apskel_owner_flutter/common/di/di_shared_preferences.dart' as _i402; import 'package:apskel_owner_flutter/common/network/network_client.dart' as _i543; import 'package:apskel_owner_flutter/domain/analytic/repositories/i_analytic_repository.dart' as _i477; import 'package:apskel_owner_flutter/domain/auth/auth.dart' as _i49; import 'package:apskel_owner_flutter/domain/category/category.dart' as _i1020; import 'package:apskel_owner_flutter/domain/customer/customer.dart' as _i48; import 'package:apskel_owner_flutter/domain/order/order.dart' as _i219; import 'package:apskel_owner_flutter/domain/outlet/outlet.dart' as _i197; import 'package:apskel_owner_flutter/domain/product/product.dart' as _i419; import 'package:apskel_owner_flutter/domain/user/user.dart' as _i635; import 'package:apskel_owner_flutter/env.dart' as _i6; import 'package:apskel_owner_flutter/infrastructure/analytic/datasource/remote_data_provider.dart' as _i866; import 'package:apskel_owner_flutter/infrastructure/analytic/repositories/analytic_repository.dart' as _i393; import 'package:apskel_owner_flutter/infrastructure/auth/datasources/local_data_provider.dart' as _i991; import 'package:apskel_owner_flutter/infrastructure/auth/datasources/remote_data_provider.dart' as _i17; import 'package:apskel_owner_flutter/infrastructure/auth/repositories/auth_repository.dart' as _i1035; import 'package:apskel_owner_flutter/infrastructure/category/datasource/remote_data_provider.dart' as _i333; import 'package:apskel_owner_flutter/infrastructure/category/repositories/category_repository.dart' as _i869; import 'package:apskel_owner_flutter/infrastructure/customer/datasources/remote_data_provider.dart' as _i1006; import 'package:apskel_owner_flutter/infrastructure/customer/repositories/customer_repository.dart' as _i550; import 'package:apskel_owner_flutter/infrastructure/order/datasource/remote_data_provider.dart' as _i130; import 'package:apskel_owner_flutter/infrastructure/order/repositories/order_repository.dart' as _i641; import 'package:apskel_owner_flutter/infrastructure/outlet/datasource/remote_data_provider.dart' as _i27; import 'package:apskel_owner_flutter/infrastructure/outlet/repositories/outlet_repository.dart' as _i13; import 'package:apskel_owner_flutter/infrastructure/product/datasources/remote_data_provider.dart' as _i823; import 'package:apskel_owner_flutter/infrastructure/product/repositories/product_repository.dart' as _i121; import 'package:apskel_owner_flutter/infrastructure/user/datasource/remote_data_provider.dart' as _i785; import 'package:apskel_owner_flutter/infrastructure/user/repositories/user_repository.dart' as _i754; import 'package:apskel_owner_flutter/presentation/router/app_router.dart' as _i258; import 'package:connectivity_plus/connectivity_plus.dart' as _i895; import 'package:dio/dio.dart' as _i361; import 'package:get_it/get_it.dart' as _i174; import 'package:injectable/injectable.dart' as _i526; import 'package:package_info_plus/package_info_plus.dart' as _i655; import 'package:shared_preferences/shared_preferences.dart' as _i460; const String _dev = 'dev'; const String _prod = 'prod'; extension GetItInjectableX on _i174.GetIt { // initializes the registration of main-scope dependencies inside of GetIt Future<_i174.GetIt> init({ String? environment, _i526.EnvironmentFilter? environmentFilter, }) async { final gh = _i526.GetItHelper(this, environment, environmentFilter); final sharedPreferencesDi = _$SharedPreferencesDi(); final dioDi = _$DioDi(); final autoRouteDi = _$AutoRouteDi(); final connectivityDi = _$ConnectivityDi(); final packageInfoDi = _$PackageInfoDi(); await gh.factoryAsync<_i460.SharedPreferences>( () => sharedPreferencesDi.prefs, preResolve: true, ); gh.lazySingleton<_i361.Dio>(() => dioDi.dio); gh.lazySingleton<_i258.AppRouter>(() => autoRouteDi.appRouter); gh.lazySingleton<_i895.Connectivity>(() => connectivityDi.connectivity); await gh.lazySingletonAsync<_i655.PackageInfo>( () => packageInfoDi.packageInfo, preResolve: true, ); gh.lazySingleton<_i543.NetworkClient>( () => _i543.NetworkClient(gh<_i895.Connectivity>()), ); gh.factory<_i455.LanguageBloc>( () => _i455.LanguageBloc(gh<_i460.SharedPreferences>()), ); gh.factory<_i6.Env>(() => _i6.DevEnv(), registerFor: {_dev}); gh.factory<_i991.AuthLocalDataProvider>( () => _i991.AuthLocalDataProvider(gh<_i460.SharedPreferences>()), ); gh.lazySingleton<_i115.ApiClient>( () => _i115.ApiClient(gh<_i361.Dio>(), gh<_i6.Env>()), ); gh.factory<_i6.Env>(() => _i6.ProdEnv(), registerFor: {_prod}); gh.factory<_i130.OrderRemoteDataProvider>( () => _i130.OrderRemoteDataProvider(gh<_i115.ApiClient>()), ); gh.factory<_i333.CategoryRemoteDataProvider>( () => _i333.CategoryRemoteDataProvider(gh<_i115.ApiClient>()), ); gh.factory<_i17.AuthRemoteDataProvider>( () => _i17.AuthRemoteDataProvider(gh<_i115.ApiClient>()), ); gh.factory<_i785.UserRemoteDataProvider>( () => _i785.UserRemoteDataProvider(gh<_i115.ApiClient>()), ); gh.factory<_i823.ProductRemoteDataProvider>( () => _i823.ProductRemoteDataProvider(gh<_i115.ApiClient>()), ); gh.factory<_i27.OutletRemoteDataProvider>( () => _i27.OutletRemoteDataProvider(gh<_i115.ApiClient>()), ); gh.factory<_i866.AnalyticRemoteDataProvider>( () => _i866.AnalyticRemoteDataProvider(gh<_i115.ApiClient>()), ); gh.factory<_i1006.CustomerRemoteDataProvider>( () => _i1006.CustomerRemoteDataProvider(gh<_i115.ApiClient>()), ); gh.factory<_i48.ICustomerRepository>( () => _i550.CustomerRepository(gh<_i1006.CustomerRemoteDataProvider>()), ); gh.factory<_i219.IOrderRepository>( () => _i641.OrderRepository(gh<_i130.OrderRemoteDataProvider>()), ); gh.factory<_i49.IAuthRepository>( () => _i1035.AuthRepository( gh<_i991.AuthLocalDataProvider>(), gh<_i17.AuthRemoteDataProvider>(), ), ); gh.factory<_i635.IUserRepository>( () => _i754.UserRepository( gh<_i785.UserRemoteDataProvider>(), gh<_i991.AuthLocalDataProvider>(), ), ); gh.factory<_i419.IProductRepository>( () => _i121.ProductRepository(gh<_i823.ProductRemoteDataProvider>()), ); gh.factory<_i972.CustomerLoaderBloc>( () => _i972.CustomerLoaderBloc(gh<_i48.ICustomerRepository>()), ); gh.factory<_i477.IAnalyticRepository>( () => _i393.AnalyticRepository( gh<_i866.AnalyticRemoteDataProvider>(), gh<_i991.AuthLocalDataProvider>(), ), ); gh.factory<_i1020.ICategoryRepository>( () => _i869.CategoryRepository(gh<_i333.CategoryRemoteDataProvider>()), ); gh.factory<_i197.IOutletRepository>( () => _i13.OutletRepository( gh<_i27.OutletRemoteDataProvider>(), gh<_i991.AuthLocalDataProvider>(), ), ); gh.factory<_i458.ProductLoaderBloc>( () => _i458.ProductLoaderBloc(gh<_i419.IProductRepository>()), ); gh.factory<_i183.CategoryLoaderBloc>( () => _i183.CategoryLoaderBloc(gh<_i1020.ICategoryRepository>()), ); gh.factory<_i473.HomeBloc>( () => _i473.HomeBloc(gh<_i477.IAnalyticRepository>()), ); gh.factory<_i889.SalesLoaderBloc>( () => _i889.SalesLoaderBloc(gh<_i477.IAnalyticRepository>()), ); gh.factory<_i337.CurrentOutletLoaderBloc>( () => _i337.CurrentOutletLoaderBloc(gh<_i197.IOutletRepository>()), ); gh.factory<_i221.ProductAnalyticLoaderBloc>( () => _i221.ProductAnalyticLoaderBloc(gh<_i477.IAnalyticRepository>()), ); gh.factory<_i785.InventoryAnalyticLoaderBloc>( () => _i785.InventoryAnalyticLoaderBloc(gh<_i477.IAnalyticRepository>()), ); gh.factory<_i552.PaymentMethodAnalyticLoaderBloc>( () => _i552.PaymentMethodAnalyticLoaderBloc( gh<_i477.IAnalyticRepository>(), ), ); gh.factory<_i1038.CategoryAnalyticLoaderBloc>( () => _i1038.CategoryAnalyticLoaderBloc(gh<_i477.IAnalyticRepository>()), ); gh.factory<_i11.ProfitLossLoaderBloc>( () => _i11.ProfitLossLoaderBloc(gh<_i477.IAnalyticRepository>()), ); gh.factory<_i516.DashboardAnalyticLoaderBloc>( () => _i516.DashboardAnalyticLoaderBloc(gh<_i477.IAnalyticRepository>()), ); gh.factory<_i775.LoginFormBloc>( () => _i775.LoginFormBloc(gh<_i49.IAuthRepository>()), ); gh.factory<_i945.AuthBloc>( () => _i945.AuthBloc(gh<_i49.IAuthRepository>()), ); gh.factory<_i574.LogoutFormBloc>( () => _i574.LogoutFormBloc(gh<_i49.IAuthRepository>()), ); gh.factory<_i1058.OrderLoaderBloc>( () => _i1058.OrderLoaderBloc(gh<_i219.IOrderRepository>()), ); gh.factory<_i147.UserEditFormBloc>( () => _i147.UserEditFormBloc(gh<_i635.IUserRepository>()), ); gh.factory<_i1030.ChangePasswordFormBloc>( () => _i1030.ChangePasswordFormBloc(gh<_i635.IUserRepository>()), ); return this; } } class _$SharedPreferencesDi extends _i402.SharedPreferencesDi {} class _$DioDi extends _i103.DioDi {} class _$AutoRouteDi extends _i311.AutoRouteDi {} class _$ConnectivityDi extends _i586.ConnectivityDi {} class _$PackageInfoDi extends _i227.PackageInfoDi {}