resolvePackageUri method

Future<Uri?> resolvePackageUri (
  1. Uri packageUri
)

Maps a package: URI to a non-package Uri.

If there is no valid mapping from the package: URI in the current isolate, then this call returns null. Non-package: URIs are returned unmodified.

Implementation

external static Future<Uri?> resolvePackageUri(Uri packageUri);

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dart.dev/stable/2.13.0/dart-isolate/Isolate/resolvePackageUri.html