callLegacy method
Executes the use case to get proxies with legacy parameters
This is kept for backward compatibility
count is the number of proxies to fetch
onlyHttps filters to only return HTTPS proxies
countries filters to only return proxies from specific countries
Implementation
@Deprecated('Use call with ProxyFilterOptions instead')
Future<List<Proxy>> callLegacy({
int count = 20,
bool onlyHttps = false,
List<String>? countries,
}) {
return repository.fetchProxiesLegacy(
count: count,
onlyHttps: onlyHttps,
countries: countries,
);
}