ValuableAsyncNoData<T> class

Representation of a momentum when no data is provided, and no error occured

In case of async process from a Stream, this type of async value can be provided after a valid data or an error

Inheritance
Annotations

Properties

closed bool
Indicates whether this state came from a closing stream or not
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