isUrlSupported method
Implementation
bool isUrlSupported({
required Uri url,
required Map<String, List<Config>> configMap,
int configIndex = 0,
}) {
Config? config = getConfig(
url,
configs: configMap,
configIndex: configIndex,
);
UrlTarget? urlTarget;
if (config != null) {
urlTarget = fetchTarget(config.urlTargets, url);
}
if (config == null || urlTarget == null) {
return false;
}
return true;
}