sourceMapUrl method

Uri sourceMapUrl(
  1. Uri canonicalUrl
)

Returns the URL to use in the source map to refer to canonicalUrl.

Returns canonicalUrl as-is if it hasn't been loaded by this cache.

Implementation

Uri sourceMapUrl(Uri canonicalUrl) =>
    _resultsCache[canonicalUrl]?.sourceMapUrl ?? canonicalUrl;