injectModule method

  1. @override
Future injectModule()
override

Implementation

@override
Future injectModule() async {
  instance.registerLazySingletonAsync<ContactRepository>(
    () async => ContactRepositoryImpl(
      await instance.getAsync(),
    ),
  );
  instance.registerLazySingletonAsync<MakeContact>(
    () async => MakeContactImpl(
      await instance.getAsync(),
      await instance.getAsync(),
    ),
  );
}