PackageId constructor

PackageId(
  1. String name,
  2. Version version,
  3. ResolvedDescription description
)

Creates an ID for a package with the given name, source, version, 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

PackageId(this.name, this.version, this.description);