LoadFailure class
Failed load result.
- Inheritance
-
- Object
- LoadResult<
Never> - LoadFailure
Constructors
- LoadFailure({required LoadFailureReason reason, required String? raw, Object? error, StackTrace? stackTrace})
-
Creates a failure result.
const
Properties
- error → Object?
-
Optional error that caused the failure.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- raw → String?
-
Raw payload when available.
final
- reason → LoadFailureReason
-
Failure reason.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stackTrace → StackTrace?
-
Optional stack trace for the failure.
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