PackageResolver.root constructor

PackageResolver.root(
  1. dynamic packageRoot
)

Returns the package resolution strategy for the given packageRoot, which may be a String or a Uri.

Implementation

factory PackageResolver.root(packageRoot) =>
    new PackageRootResolver(packageRoot).asAsync;