Of<T> class
This is a basic implementation of an Observable. This offers a lite observable. An Observer will subscribe to an Observable. Then that observer reacts to whatever item the Observable emits.
Constructors
Properties
Methods
-
alert(
ObservableListener< T> alerter) → void - alert() Add an ephemeral listener to this observable. this listener will be unsubscribe after the next change.
-
listen(
ObservableListener< T> listener) → void - listen() Adds a permanent listener to this observable.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
refresh(
) → void - Manually refresh this observale.
-
toString(
) → String -
A string representation of this object.
override
-
unListen(
ObservableListener< T> listener) → void - unListen() Removes a permanent listener from this observable.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited