BaseChildNode<C extends ChildNode<C, P>, P extends Node<P>> class abstract

Base implementation of a ModuleNode that is a child of another Node and is stateful.

Implemented types

Constructors

BaseChildNode(P parent)

Properties

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

Methods

child<T extends ChildNode<T, N>>(DescendantNodeFactory<T, C> create) ObjectFactory<T>
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<T extends ModuleNode<T, N>>(DescendantNodeFactory<T, C> create) → T
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