injectModule method
Future
injectModule(
)
override
Implementation
@override
Future injectModule() async {
instance.registerLazySingletonAsync<RescueRepository>(
() async => RescueRepositoryImpl(
await instance.getAsync(),
),
);
instance.registerLazySingletonAsync<GetAllRescues>(
() async => GetAllRescuesImpl(
await instance.getAsync(),
await instance.getAsync(),
await instance.getAsync(),
),
);
instance.registerLazySingletonAsync<GetAvaliableVouchers>(
() async => GetAvaliableVouchersImpl(
await instance.getAsync(),
),
);
instance.registerLazySingletonAsync<RescuePrize>(
() async => RescuePrizeImpl(
await instance.getAsync(),
await instance.getAsync(),
await instance.getAsync(),
),
);
instance.registerLazySingletonAsync<ChangeVoucherStatus>(
() async => ChangeVoucherStatusImpl(
await instance.getAsync(),
await instance.getAsync(),
),
);
instance.registerLazySingletonAsync<RedemptionsByDate>(
() async => RedemptionsByDateImpl(
await instance.getAsync(),
await instance.getAsync(),
),
);
instance.registerLazySingletonAsync<GetRedemptionById>(
() async => GetRedemptionByIdImpl(
await instance.getAsync(),
await instance.getAsync(),
),
);
}