injectModule method
Future
injectModule(
)
override
Implementation
@override
Future injectModule() async {
instance.registerLazySingletonAsync<PrizeRepository>(
() async => PrizeRepositoryImpl(
await instance.getAsync(),
),
);
instance.registerLazySingletonAsync<GetPrizes>(
() async => GetPrizesImpl(
await instance.getAsync(),
await instance.getAsync(),
),
);
instance.registerLazySingletonAsync<GetPrizeById>(
() async => GetPrizeByIdImpl(
await instance.getAsync(),
await instance.getAsync(),
),
);
instance.registerLazySingletonAsync<GetPrizesCategories>(
() async => GetPrizesCategoriesImpl(
await instance.getAsync(),
await instance.getAsync(),
),
);
}