RxValue<T> class
A reactive value
- Inheritance
- Available extensions
Constructors
- RxValue(T _value)
- Create a reactive value
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setteroverride
-
stream
→ Stream<
T> -
Stream of value changes
no setterinherited
- unregisteredValue → T
-
Read the current value without calling register
no setter
- value ↔ T
-
The current value
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
notify(
) → void -
Notify listeners with the current value
override
-
notifyWithValue(
T value) → void -
Notify listeners with the given value
inherited
-
persist<
I> (String key, {FastRxPersistenceInterface? store, PersistenceConverter< T, I> ? converter}) → void -
Available on RxValue<
Persist the value though theT> , provided by the RxPersistenceExtension extensionstore
-
register(
) → void -
Register with the current zone's RxRegistrar if it exists
inherited
-
run(
RxAction action, {bool notify = true}) → bool -
Run
action
with registration and notifications disabled. Will notify afteraction
is completed ifnotify
is true and the child implementation decides a notification should be sent.inherited -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
Returns true if both RxValue values are equal
override