ProxyPreloaderService constructor

ProxyPreloaderService({
  1. required ProxyRepository repository,
  2. required ProxyCacheManager cacheManager,
  3. Duration validationInterval = const Duration(minutes: 30),
})

Creates a new ProxyPreloaderService with the given parameters

Implementation

ProxyPreloaderService({
  required ProxyRepository repository,
  required ProxyCacheManager cacheManager,
  Duration validationInterval = const Duration(minutes: 30),
}) : _repository = repository,
     _cacheManager = cacheManager,
     _validationInterval = validationInterval;