injectModule method

  1. @override
Future injectModule()
override

Implementation

@override
Future injectModule() async {
  instance.registerLazySingletonAsync<EstablishimentRepository>(
    () async => EstablishimentRepositoryImpl(
      await instance.getAsync(),
      await instance.getAsync(),
    ),
  );
  instance.registerLazySingletonAsync<BannerRepository>(
    () async => BannerRepositoryImpl(
      await instance.getAsync(),
      await instance.getAsync(),
    ),
  );
  instance.registerLazySingletonAsync<RegulationRepository>(
    () async => RegulationRepositoryImpl(
      await instance.getAsync(),
      await instance.getAsync(),
    ),
  );
  instance.registerLazySingletonAsync<SettingsRepository>(
    () async => SettingsRepositoryImpl(
      await instance.getAsync(),
    ),
  );
  instance.registerLazySingletonAsync<BranchRepository>(
    () async => BranchRepositoryImpl(
      await instance.getAsync(),
    ),
  );
  instance.registerLazySingletonAsync<ResourcesRepository>(
    () async => ResourcesRepositoryImpl(
      await instance.getAsync(),
    ),
  );
  instance.registerLazySingletonAsync<FindEstablishmentById>(
    () async => FindEstablishmentByIdImpl(
      await instance.getAsync(),
      await instance.getAsync(),
      await instance.getAsync(),
    ),
  );
  instance.registerLazySingletonAsync<FindEstablishmentBanners>(
    () async => FindEstablishmentBannersImpl(
      await instance.getAsync(),
      await instance.getAsync(),
    ),
  );
  instance.registerLazySingletonAsync<GetEstablishmentSettings>(
    () async => GetEstablishmentSettingsImpl(
      await instance.getAsync(),
      await instance.getAsync(),
      await instance.getAsync(),
    ),
  );
  instance.registerLazySingletonAsync<GetRegulation>(
    () async => GetRegulationImpl(
      await instance.getAsync(),
      await instance.getAsync(),
    ),
  );
  instance.registerLazySingletonAsync<SearchByLocation>(
    () async => SearchByLocationImpl(
      await instance.getAsync(),
    ),
  );
  instance.registerLazySingletonAsync<SearchByName>(
    () async => SearchByNameImpl(
      await instance.getAsync(),
    ),
  );
  instance.registerLazySingletonAsync<SearchMyLocales>(
    () async => SearchMyLocalesImpl(
      await instance.getAsync(),
      await instance.getAsync(),
    ),
  );
  instance.registerLazySingletonAsync<SearchBySlug>(
    () async => SearchBySlugImpl(
      await instance.getAsync(),
    ),
  );
  instance.registerLazySingletonAsync<GetBranchs>(
    () async => GetBranchsImpl(
      await instance.getAsync(),
      await instance.getAsync(),
    ),
  );
  instance.registerLazySingletonAsync<EstablismentLogin>(
    () async => EstablismentLoginImpl(
      await instance.getAsync(),
    ),
  );
  instance.registerLazySingletonAsync<DashboardStatistics>(
    () async => DashboardStatisticsImpl(
      await instance.getAsync(),
      await instance.getAsync(),
    ),
  );
  instance.registerLazySingletonAsync<LocateBranchWithCode>(
    () async => LocateBranchWithCodeImpl(
      await instance.getAsync(),
      await instance.getAsync(),
    ),
  );
  instance.registerLazySingletonAsync<GetCustomConfig>(
    () async => GetCustomConfigImpl(
      await instance.getAsync(),
      await instance.getAsync(),
    ),
  );
  instance.registerLazySingletonAsync<SetCustomConfig>(
    () async => SetCustomConfigImpl(
      await instance.getAsync(),
      await instance.getAsync(),
    ),
  );
  instance.registerLazySingletonAsync<GetHiredResources>(
    () async => GetHiredResourcesImpl(
      await instance.getAsync(),
      await instance.getAsync(),
    ),
  );
}