AsyncError<T> class
Null safety
Creates an AsyncValue in error state.
The parameter error cannot be null
.
- Implemented types
-
- AsyncValue<
T>
- AsyncValue<
- Available Extensions
Constructors
- AsyncError(Object error, {StackTrace? stackTrace})
-
Creates an AsyncValue in error state.
const
Properties
- error → Object
-
The error.
final
- hashCode → int
-
The hash code for this object.
read-onlyoverride
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
- stackTrace → StackTrace?
-
The stacktrace of error.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override