call method
Executes the use case to validate a proxy
proxy
is the proxy to validate
testUrl
is the URL to use for testing
timeout
is the timeout in milliseconds
Implementation
Future<bool> call(Proxy proxy, {String? testUrl, int timeout = 10000}) {
return repository.validateProxy(proxy, testUrl: testUrl, timeout: timeout);
}