root static method

PackageId root(
  1. Package package
)

Creates an ID for the given root package.

Implementation

static PackageId root(Package package) => PackageId(
      package.name,
      package.version,
      ResolvedRootDescription(RootDescription(package.dir)),
    );