configureGetIt function
void
configureGetIt(
- Web3Client? provider,
- GetIt? getIt
Implementation
void configureGetIt(Web3Client? provider, GetIt? getIt) {
locator = getIt ?? GetIt.instance;
locator.registerLazySingleton(
() => provider ?? Web3Client(Routes.maticvigil, Client()));
configureInjectable();
}