PackageRef class abstract

A package reference, including the package name and version. This package reference can be resolved to the actual package on disk.

Constructors

PackageRef()

Properties

hashCode int
The hash code for this object.
no setterinherited
name String
The name of the package.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sourceType String
The type of the package reference. Valid types include hosted and git.
no setter
version → Version
The version of the package.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
resolve() Package?
Resolve the package reference into the actual package, including the location on disk.
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
override