fromResolvedUrl static method
Resolved url
before instantiate fromURI.
Implementation
static ResourceContent? fromResolvedUrl(String? url,
{String? baseURL, String? content}) {
if (url == null) {
if (content != null) return ResourceContent(null, content);
return null;
}
var resolvedURL = resolveUri(url, baseURL: baseURL);
return ResourceContent.fromURI(resolvedURL, content);
}