ValuableAsyncData<T> class
Representation of a valid data provided by an async process (Future, Stream, ...)
- Inheritance
-
- Object
- ValuableAsyncValue<
T> - ValuableAsyncData
- Annotations
Properties
- data → T
-
Current async data
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
map<
Output> ({required Output onData(ValuableAsyncData< T> data), required Output onError(ValuableAsyncError<T> error), required Output onNoData(ValuableAsyncNoData<T> noData)}) → Output -
Method to provide a value, depending of current async value type
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited