DependencyTreeNode class

An TreeNode for an dependency tree constructed from an Consumer or an InjectableConsumer.

Inheritance

Constructors

DependencyTreeNode(Object self, [Maybe<Type?> type = const None()])
Construct the tree from the self root. This may not be cheap, use carefully.

Properties

edges List<DependencyTreeNode>
The edges of this Node. They may be interlinked.
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
self Object
The value which was injected or the root of this dependency tree. If self has dependencies, they will be added to the tree.
final
type Maybe<Type?>
The Type which was retrieved from the Injector resulting in self. It is None at the root.
final
value Dependency
The value this Node represents.
no setteroverride

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toGraph({TreeToGraphLinkType linkType = TreeToGraphLinkType.direct}) Graph<Dependency, DependencyGraphNode>
Convert this dependency tree to an dependency graph.
toString() String
A string representation of this object.
inherited

Operators

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