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