root static method

PackageRange root(
  1. Package package
)

Creates a range that selects the root package.

Implementation

static PackageRange root(Package package) =>
    PackageRange(PackageRef.root(package), package.version);