ReadOnlyAtomBase<Value> class abstract

See atom.

Inheritance
Implementers
Available Extensions

Constructors

ReadOnlyAtomBase(AtomReader<Value> reader)

Properties

hashCode int
The hash code for this object.
no setterinherited
name String?
Debug name for this atom
no setterinherited
reader AtomReader<Value>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shouldKeepAlive bool
Should this atoms state be kept, even if it isnt being used?
no setterinherited

Methods

$lifetime(Node node) → ReadLifetime<Value>
Used by the registry to create a read lifetime. Bit hacky, but allows us to go from dynamic to T.
inherited
$read(AtomContext<Value> ctx) → Value
Used by the registry to read the atoms value.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
withInitialValue(Value value, {bool keepAlive = true}) AtomInitialValue<Value>
Create an initial value override, which can be given to an AtomScope or AtomRegistry.
inherited

Operators

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