toRange method
Returns a PackageRange that allows only version of this package.
Implementation
PackageRange toRange() => PackageRange(toRef(), version);
Returns a PackageRange that allows only version of this package.
PackageRange toRange() => PackageRange(toRef(), version);