Implementers
Available extensions
Properties
debugLabel
→ String ?
Debug label for Debug Mode
no setter
globalId
→ int
Global ID of the signal
no setter
hashCode
→ int
The hash code for this object.
no setter inherited
previousValue
→ T
Get the last value before the last update or the initial value
no setter
runtimeType
→ Type
A representation of the runtime type of the object.
no setter inherited
value
→ T
Compute the current value
no setter
Methods
call ()
→ T
Return the value when invoked
get ()
→ T
noSuchMethod (Invocation invocation )
→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
peek ()
→ T
In the rare instance that you have an effect that should write to
another signal based on the previous value, but you don't want the
effect to be subscribed to that signal, you can read a signals's
previous value via signal.peek()
.
subscribe (void fn (T value ) )
→ EffectCleanup
Subscribe to value changes
toJson ()
→ T
Convert value to JSON
toString ()
→ String
A string representation of this object.
override