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);