getEnabledSourceUrls method
Gets the list of enabled proxy source URLs
Implementation
List<String> getEnabledSourceUrls() {
final urls = <String>[];
if (useFreeProxyList) {
urls.add(AppConstants.proxySourceUrls[0]);
}
if (useGeoNode) {
urls.add(AppConstants.proxySourceUrls[1]);
}
if (useProxyScrape) {
urls.add(AppConstants.proxySourceUrls[2]);
}
if (useProxyNova) {
urls.add(AppConstants.proxySourceUrls[3]);
}
if (useHideMyName) {
urls.add(AppConstants.proxySourceUrls[4]);
}
if (useProxyListTo) {
urls.add(AppConstants.proxySourceUrls[5]);
}
urls.addAll(customSources);
return urls;
}