injectModule method

  1. @override
Future injectModule()
override

Implementation

@override
Future injectModule() async {
  instance.registerLazySingletonAsync<AppConfigRepository>(
    () async => AppConfigRepositoryImpl(
      await instance.getAsync(),
    ),
  );
  instance.registerLazySingletonAsync<FindAppConfig>(
    () async => FindAppConfigImpl(
      await instance.getAsync(),
      await instance.getAsync(),
    ),
  );
}