resolvePackageUri method

Future<Uri> resolvePackageUri(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.

Source

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

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