AsyncValueExtensions<T> extension
- on
-
- AsyncValue<
T>
- AsyncValue<
Properties
- exclusivelyIsLoading → bool
-
Whether the value is exclusively loading and has no error or value.
no setter
Methods
-
cast<
R> () → AsyncValue< R> - Casts the underlying value into a different type
-
mapValue<
R> (MapCallback< T, R> callback) → AsyncValue<R> - Maps the underlying value using the given callback function
-
mergeWith<
O, R> (AsyncValue< O> other, MergeAsyncValueCallback<R, T, O> combine) → AsyncValue<R> - Merges this async value with another async value, combining their two values into one if both have data.