LxWaiting<T> class final

Status: Waiting (the operation is active).

Inheritance

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 true if the status is LxError.
no setterinherited
hashCode int
The hash code for this object.
no setteroverride
hasValue bool
Returns true if the status is LxSuccess.
no setterinherited
isLoading bool
Returns true if 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