packageUriFor method

Future<Uri> packageUriFor (
  1. dynamic uri
)

Returns the package: URI for uri.

If uri can't be referred to using a package: URI, returns null.

uri may be a String or a Uri.

Implementation

Future<Uri> packageUriFor(uri);