FailNanoReadStatus<T> class
A class describing that a Future has completed by throwing an error.
- Inheritance
-
- Object
- FutureNanoReadStatus<
T> - FailNanoReadStatus
Constructors
- FailNanoReadStatus(Object error, StackTrace stackTrace)
-
Creates a new FailNanoReadStatus with a given error and stackTrace.
const
Properties
- error → Object
-
The error thrown by a Future.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stackTrace → StackTrace
-
The stack trace of the error.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
status<
S> ({required S uncompleted(), required S success(T), required S fail(Object, StackTrace)}) → S -
Calls the callback corresponding to the status and returns a value from
the callback.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override