PubspecDependency class abstract

Representation of a key/value pair which maps a package name to a package description.

Example of a path-dependency:

dependencies:
  <name>:
    version: <version>
    path: <path>

Constructors

PubspecDependency()

Properties

git → PubspecGitRepo?
The git dependency section, if specified.
no setter
hashCode → int
The hash code for this object.
no setterinherited
host → PubspecHost?
The host section, if specified.
no setter
name → PubspecNode?
The dependency name, if specified.
no setter
path → PubspecEntry?
The path section, if specified.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
version → PubspecEntry?
The dependency version, if specified.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited