RxValue<T> class abstract

Interface of an observable value of type T

Implemented types
Implementers

Constructors

RxValue(T initial)
factory
RxValue.proxy(ValueGetter<T> getterProxy)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
listenable RxListenable<T>
no setter
onChange Stream<Change<T>>
Stream of record of Changes of value
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value ↔ T
Get current value
getter/setter pairoverride-getter
values Stream<T>
Stream of changes of value
no setteroverride

Methods

bind(RxValue<T> other) → void
Binds other to this
bindOrSet(dynamic other) → void
Binds if other is Stream or RxValue of type T. Sets if other is instance of T
bindStream(Stream<T> stream) → void
Binds the stream to this
dispose() Future<void>
listen(ValueCallback<T> callback) StreamSubscription<T>
Calls callback with current value, when the value changes.
override
map<R>(R mapper(T data)) Stream<R>
Maps the changes into a Stream of R
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setCast(dynamic val) → void
Cast val to T before setting
toString() String
A string representation of this object.
inherited

Operators

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