Stated mixin

Beaviour to find out the type's state

Mixin Applications

Properties

hasError bool
Return true if it has error
no setter
hashCode int
The hash code for this object.
no setterinherited
hasValue bool
Return true if it has a value
no setter
isFailed bool
Return true if it is failed with error
no setter
isFinished bool
Return true if it is finished, either succeeded or failed
no setter
isIdle bool
Return true if it is idle
no setter
isSucceeded bool
Return true if it is succeeded
no setter
isWorking bool
Return true if it is in progress
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

extractError() Object
Extract error or exception
extractValue<T>() → T
Extract the value
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