PackageRange constructor
PackageRange(
- PackageRef _ref,
- VersionConstraint constraint
Creates a reference to package with the given name, source,
constraint
, and description.
Since an ID's description is an implementation detail of its source, this
should generally not be called outside of Source
subclasses.
Implementation
PackageRange(this._ref, this.constraint);