Observable<T> class
A class that represents the Observable functionality.
- Mixed-in types
- Implementers
- Available extensions
Constructors
-
Observable.new(T _value, {EqualityFunction<
T> ? equals, ErrorCallback? onError}) - Observable method.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isDisposed → bool
-
Whether this object has been disposed.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value ↔ T
-
value method.
getter/setter pair
Methods
-
addDisposeCallback(
VoidCallback callback) → void -
Add a callback to be executed during disposal.
inherited
-
addListener(
VoidCallback listener) → void - addListener method.
-
addSubscription(
StreamSubscription subscription) → void -
Add a stream subscription to be cancelled during disposal.
inherited
-
combineWith<
U, R> (Observable< U> other, R combiner(T, U)) → Observable<R> -
Available on Observable<
T> , provided by the ObservableSelector extension -
dispose(
) → void -
dispose method.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
read(
) → T - read method.
-
removeListener(
VoidCallback listener) → void - removeListener method.
-
select<
R> (R selector(T)) → Observable< R> -
Available on Observable<
selectR> method.T> , provided by the ObservableSelector extension -
setDebounceTimer(
Timer timer) → void -
Set or update the debounce timer.
inherited
-
setValueDebounced(
T newValue, Duration delay) → void - setValueDebounced method.
-
throwIfDisposed(
[String? operation]) → void -
Throw if this object has been disposed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
validateEmail(
) → Observable< String?> -
Available on Observable<
validateEmail method.String> , provided by the StringValidation extension -
validateLength(
{int? min, int? max}) → Observable< String?> -
Available on Observable<
validateLength method.String> , provided by the StringValidation extension -
watch(
) → T
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited