RxInterface<T> class Null safety

This class is the foundation for all reactive (Rx) classes that makes Get so powerful. This interface is the contract that _RxImpl] uses in all it's subclass.

Implementers

Constructors

RxInterface()

Properties

canUpdate bool
read-only
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

addListener(GetStream<T> rxGetx) → void
Adds a listener to stream
close() → void
Close the Rx Variable
listen(void onData(T event), {Function? onError, void onDone()?, bool? cancelOnError}) StreamSubscription<T>
Calls callback with current value, when the value changes.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

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

Static Properties

proxy RxInterface?
read / write

Static Methods

notifyChildren<T>(RxNotifier observer, ValueGetter<T> builder) → T
Avoids an unsafe usage of the proxy