resolveURL method

String resolveURL(
  1. String url
)

url — the url to load

Given a URL, uses the URL modifier callback (if any) and returns a resolved URL. If no URL modifier is set, returns the original URL.

Implementation

String resolveURL(String url) {
  if (urlModifier != null) {
    return urlModifier!(url);
  }
  return url;
}