PackageNode class

A node in a PackageGraph.

Constructors

PackageNode(String name, String path, DependencyType? dependencyType, LanguageVersion? languageVersion, {bool isRoot = false})

Properties

dependencies List<PackageNode>
All the packages that this package directly depends on.
final
dependencyType DependencyType?
The type of dependency being used to pull in this package.
final
hashCode int
The hash code for this object.
no setterinherited
isRoot bool
Whether this node is the PackageGraph.root.
final
languageVersion → LanguageVersion?
final
name String
The name of the package as listed in pubspec.yaml.
final
path String
The absolute path of the current version of this package.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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