ModuleNode<M extends ModuleNode<M, P>, P extends Node<P>> class abstract

ModuleNode is a generic abstract class that implements the ParentedNode and relies on the nearest child/tree's state.

Implemented types
Implementers

Constructors

ModuleNode()

Properties

hashCode int
The hash code for this object.
no setterinherited
observer ArborObserver?
no setterinherited
parent → P
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

child<C extends ChildNode<C, N>>(DescendantNodeFactory<C, M> create) ObjectFactory<C>
Creates a child node using the provided factory function.
inherited
createCaching<T>(InstanceManager source, ObjectFactory<T> create, {Disposer<T>? dispose}) → T
inherited
dispose() → void
inherited
init() → void
inherited
instance<T>(ObjectFactory<T> create) ObjectFactory<T>
Creates a new instance using the provided factory function.
inherited
module<M extends ModuleNode<M, N>>(DescendantNodeFactory<M, M> create) → M
Creates a module node using the provided factory function.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
shared<T>(ObjectFactory<T> create, {Disposer<T>? dispose}) → T
Creates a shared instance using the provided factory function. Optionally, a disposer function can be provided to dispose of the instance.
inherited
toString() String
A string representation of this object.
inherited

Operators

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