BaseAsyncError<T> class
Represents the error state.
- Inheritance
-
- Object
- BaseAsyncValue<
T> - BaseAsyncError
Constructors
- BaseAsyncError({required Object error, StackTrace? stackTrace})
-
Creates a BaseAsyncError with the given
errorand optionalstackTrace.const
Properties
- error → Object
-
The error that occurred.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stackTrace → StackTrace?
-
The stack trace associated with the error, if any.
final
Methods
-
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