StoredValue<T> class
- Implemented types
-
- RxValue<
T>
- RxValue<
- Mixed-in types
-
- RxListenable<
T>
- RxListenable<
Constructors
- StoredValue(T initial)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
listenable
→ RxListenable<
T> -
latefinal
-
onChange
→ Stream<
Change< T> > -
Stream of record of
Change
s of valueno setteroverride - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value ↔ T
-
Get current value
getter/setter pairoverride
-
values
→ Stream<
T> -
no setterinherited
Methods
-
bind(
RxValue< T> other) → void -
When
other
changes, the coverride -
bindOrSet(
dynamic other) → void -
Binds if
other
is Stream or RxValue of typeT
. Sets ifother
is instance ofT
override -
bindStream(
Stream< T> stream) → void -
Binds the
stream
to thisoverride -
dispose(
) → Future< void> -
override
-
listen(
ValueCallback< T> callback) → StreamSubscription<T> -
Calls
callback
with current value, when the value changes.inherited -
map<
R> (R mapper(T data)) → Stream< R> -
Maps the changes into a Stream of
R
inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setCast(
dynamic val) → void -
Cast
val
toT
before settingoverride -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited