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. uri Absolute path uri to look up in the package uri mapping cache.

Implementation

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