ControlObservable<T> class
- Inheritance
-
- Object
- ObservableValue<
T> - ObservableModel<
T> - ControlObservable
- Implementers
- Available Extensions
Constructors
- ControlObservable(T _value)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- internalData ↔ dynamic
-
getter/setter pairoverride
- isActive → bool
-
no setteroverride
- isEmpty → bool
-
no setterinherited
- isNotEmpty → bool
-
no setterinherited
- isValid → bool
-
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- subCount → int
-
no setter
-
subs
→ List<
ControlSubscription< T> > -
final
- value ↔ T
-
getter/setter pairinherited-setteroverride-getter
Methods
-
cancel(
ControlSubscription< T> subscription) → void -
override
-
cast<
U> () → ObservableValue< U> -
inherited
-
clear(
) → void -
createSubscription(
[dynamic args]) → ControlSubscription< T> -
dispose(
) → void -
Used to clear and dispose object.
After this method call is object typically unusable and ready for GC.
Can be called multiple times!
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
notify(
) → void -
override
-
pause(
) → void -
resume(
) → void -
setValue(
T value, {bool notify = true, bool forceNotify = false}) → void -
override
-
subscribe(
ValueCallback< T> action, {bool current = true, dynamic args}) → ControlSubscription<T> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
empty<
T> ([T? value]) → ControlObservable< T?> -
of<
T> (dynamic object) → ObservableValue< T?> -
override
-
ofChannel<
T> (ObservableChannel channel) → ControlObservable< T?> -
ofFuture<
T> (Future< T> future) → ControlObservable<T?> -
ofListenable<
T> (Listenable listenable) → ControlObservable< T?> -
ofStream<
T> (Stream< T> stream) → ControlObservable<T?>