ObservableAsyncState<T> class

Implemented types
Mixed in types
Available Extensions
Annotations
  • @Deprecated("Will be removed in future versions")

Constructors

ObservableAsyncState({AsyncValue<T>? value, Duration? debounceTime, Duration? throttleTime, Equals<AsyncValue<T>>? equals})

Properties

hashCode int
The hash code for this object.
no setterinherited
inner RootObservableState<AsyncValue<T>>
latefinaloverride-getter
observers UnmodifiableSetView<ObserverMixin>
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value AsyncValue<T>
getter/setter pairinherited-getteroverride-setter

Methods

addObserver(ObserverMixin observer) → void
inherited
asStream() Stream<AsyncValue<T>>
Stream of Observable's values. Emits whenever value is set
inherited
dispose() → void
override
listen(ValueChanged<AsyncValue<T>> onChanged) Disposer
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
refresh(CancellableComputation<T> computation) Future<Result<T>>
removeObserver(ObserverMixin observer) → void
inherited
scheduleRefresh(CancellableComputation<T> computation) → void
setValue(AsyncValue<T> value) bool
toString() String
A string representation of this object.
inherited

Operators

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