LxWaiting<T> class
final
Status: Waiting (the operation is active).
Constructors
- LxWaiting([T? lastValue])
-
Creates a waiting status.
factory
Properties
- errorOrNull → Object?
-
Returns the error if the status is LxError, otherwise
null.no setterinherited - hasError → bool
-
Returns
trueif the status is LxError.no setterinherited - hashCode → int
-
The hash code for this object.
no setteroverride
- hasValue → bool
-
Returns
trueif the status is LxSuccess.no setterinherited - isLoading → bool
-
Returns
trueif the status is LxWaiting.no setterinherited - lastValue → T?
-
The most recent successful value of type
T, if any.finalinherited - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stackTraceOrNull → StackTrace?
-
Returns the stack trace if the status is LxError, otherwise
null.no setterinherited - valueOrNull → T?
-
Returns the value if successful, otherwise
null.no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override