GraphNode class final

One package in PackageGraph.

Constructors

GraphNode(String name, Version? version, List<String> dependencies, List<String> devDependencies)
name at version, depending on dependencies and, for root packages, devDependencies.
const

Properties

dependencies → List<String>
What it depends on.
final
devDependencies → List<String>
What it depends on for development (root packages only).
final
hashCode → int
The hash code for this object.
no setterinherited
name → String
The package's name.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
version → Version?
Its resolved version, when it has a valid one.
final

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