lookupResolvedPackageUris method Null safety
The lookupResolvedPackageUris
RPC is used to convert a list of URIs to
their resolved (or absolute) paths. For example, URIs passed to this RPC
are mapped in the following ways:
dart:io
->org-dartlang-sdk:///sdk/lib/io/io.dart
package:test/test.dart
->file:///$PACKAGE_INSTALLATION_DIR/lib/test.dart
file:///foo/bar/bazz.dart
->file:///foo/bar/bazz.dart
If a URI is not known, the corresponding entry in the UriList
response
will be null
.
If local
is true, the VM will attempt to return local file paths instead
of relative paths, but this is not guaranteed.
See UriList
.
Implementation
Future<UriList> lookupResolvedPackageUris(String isolateId, List<String> uris,
{bool? local});