root static method

PackageRef root(
  1. Package package
)

Creates a reference to the given root package.

Implementation

static PackageRef root(Package package) =>
    PackageRef(package.name, RootDescription(package.dir));