ReactiveValue<T> class
abstract
Interface of an Reactive value of type T
Constructors
- ReactiveValue(T initial)
-
factory
-
ReactiveValue.proxy(ValueGetter<
T> getterProxy) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
onChange
→ Stream<
Change< T> > -
Stream of record of Changes of value
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value ↔ T
-
Get current value
getter/setter pair
-
values
→ Stream<
T> -
Stream of changes of value
no setter
Methods
-
bind(
ReactiveValue< T> other) → void -
Binds
other
to this -
bindOrSet(
dynamic other) → void -
Binds if
other
is Stream orRxValue
of typeT
. Sets ifother
is instance ofT
-
bindStream(
Stream< T> stream) → void -
Binds the
stream
to this -
listen(
ValueCallback< T> callback) → StreamSubscription<T> -
Calls
callback
with current value, when the value changes. -
map<
R> (R mapper(T data)) → Stream< R> -
Maps the changes into a Stream of
R
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setCast(
dynamic val) → void -
Cast
val
toT
before setting -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited