dependencies method
void
dependencies(
)
override
Implementation
@override
void dependencies() {
Get.lazyPut<ProfileDatasource>(() => ProfileDatasourceImpl());
Get.lazyPut<ProfileRepository>(
() => ProfileRepositoryImpl(Get.find<ProfileDatasource>()),
);
Get.lazyPut(() => GetProfileUseCase(Get.find<ProfileRepository>()));
Get.lazyPut(() => UpdateProfileUseCase(Get.find<ProfileRepository>()));
Get.lazyPut(
() => ProfileController(
Get.find<GetProfileUseCase>(),
Get.find<UpdateProfileUseCase>(),
),
);
}