call method
void
call()
Implementation
void call() {
if (!di.isRegistered<PaymentRepository>()) {
di
..registerFactory<PaymentRepository>(
() => PaymentRepositoryImpl(remoteDataSource: di()))
..registerFactory<PaymentRemoteDataSource>(
() => PaymentRemoteDataSourceImpl(network: di()))
..registerFactory(() => GenerateSignatureUseCase())
..registerFactory(
() => GetPaymentFeesUseCase(repository: di()),
)
..registerFactory(
() => PayUseCase(repository: di()),
);
}
}