WritableSignal<T> class abstract interface

A signal that can be read from and written to.

WritableSignals extend regular signals by allowing their values to be modified through the call operator.

Inheritance

Properties

currentValue ↔ T
The current value of this signal.
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
subs Link?
The head of the subscriber linked list.
getter/setter pairinherited
subsTail Link?
The tail of the subscriber linked list.
getter/setter pairinherited

Methods

call([T value]) → T
Gets or sets the current value of this signal.
override
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 ==(Object other) bool
The equality operator.
inherited