lookupPackageUri method

String? lookupPackageUri(
  1. String isolateId,
  2. String fileUri
)

Returns a package URI for the given URI, if one exists in the cache.

  • isolateId - The id of the isolate that the URIs were generated on.
  • fileUri - Absolute path uri to look up in the package uri mapping cache.

Implementation

String? lookupPackageUri(String isolateId, String fileUri) =>
    _packagePathMappings?.lookupFullPathToPackageMapping(isolateId, fileUri);