CreatorBase<T> class abstract

Base class of creators. Creators describe the graph dependencies. Also see ElementBase. Note that T should be immutable data.

Implementers

Constructors

CreatorBase({String? name, bool keepAlive = false, List<Object?>? args})
const

Properties

args List<Object?>?
Creator with the same args are considered the same. args need to be unique within the graph.
final
debugName String
no setter
hashCode int
See args.
no setteroverride
infoName String
no setter
keepAlive bool
Whether to keep the creator alive even if it loses all its watchers.
final
name String?
Name for logging purpose.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(dynamic other) bool
See args.
override