ObjectFactories<N extends Node<N> > class
abstract
ObjectFactories is a generic abstract class that defines methods for creating instances, shared instances, child nodes, and modules.
- Implementers
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
child<
C extends ChildNode< (C, N> >DescendantNodeFactory< C, N> create) → ObjectFactory<C> - Creates a child node using the provided factory function.
-
instance<
T> (ObjectFactory< T> create) → ObjectFactory<T> - Creates a new instance using the provided factory function.
-
module<
M extends ModuleNode< (M, N> >DescendantNodeFactory< M, N> create) → M - Creates a module node using the provided factory function.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
- Creates a shared instance using the provided factory function. Optionally, a disposer function can be provided to dispose of the instance.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited