resolveUri method

Uri resolveUri(
  1. dynamic packageUri

Resolves packageUri according to this package resolution strategy.

packageUri may be a String or a Uri. This throws a FormatException if packageUri isn't a package: URI or doesn't have at least one path segment.

If packageUri refers to a package that's not in the package spec, this returns null.


Uri resolveUri(packageUri);