BaseModule<C extends ModuleNode<C, P>, P extends Node<P>> class abstract

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

Implemented types

Constructors

BaseModule(P parent)

Properties

hashCode int
The hash code for this object.
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
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