injectModule method
Future
injectModule(
)
override
Implementation
@override
Future injectModule() async {
instance.registerLazySingletonAsync<DeliveryAddressRepository>(
() async => DeliveryAddressRepositoryImpl(
await instance.getAsync(),
),
);
instance.registerLazySingletonAsync<CreateDeliveryAddress>(
() async => CreateDeliveryAddressImpl(
await instance.getAsync(),
await instance.getAsync(),
await instance.getAsync(),
await instance.getAsync(),
),
);
instance.registerLazySingletonAsync<UpdateDeliveryAddress>(
() async => UpdateDeliveryAddressImpl(
await instance.getAsync(),
await instance.getAsync(),
await instance.getAsync(),
await instance.getAsync(),
),
);
instance.registerLazySingletonAsync<DeleteDeliveryAddress>(
() async => DeleteDeliveryAddressImpl(
await instance.getAsync(),
await instance.getAsync(),
await instance.getAsync(),
await instance.getAsync(),
),
);
instance.registerLazySingletonAsync<MarkDeliveryAddressAsDefault>(
() async => MarkDeliveryAddressAsDefaultImpl(
await instance.getAsync(),
await instance.getAsync(),
await instance.getAsync(),
await instance.getAsync(),
),
);
instance.registerLazySingletonAsync<GetAllDeliveryAddress>(
() async => GetAllDeliveryAddressImpl(
await instance.getAsync(),
await instance.getAsync(),
await instance.getAsync(),
await instance.getAsync(),
),
);
}