RxPrimitive<T> class abstract

A reactive primitive

Inheritance
Implementers
Available Extensions

Constructors

RxPrimitive(T value)
Create a reactive primitive

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stream Stream<T>
Stream of value changes
no setterinherited
unregisteredValue → T
Read the current value without calling register
no setterinherited
value ↔ T
Reactive primitives do not expose their value getter since all methods are available on the RxPrimitive
getter/setter pairinherited-setteroverride-getter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
notify() → void
Notify listeners with the current value
inherited
notifyWithValue(T value) → void
Notify listeners with the given value
inherited
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 after action is completed if notify is true and the child implementation decides a notification should be sent.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
Returns true if both RxValue values are equal
inherited