UploadStateFailed class

Upload state indicating the attachment upload failed.

Contains error information and optionally a stack trace for debugging.

Inheritance

Constructors

UploadStateFailed({required Object error, StackTrace? stackTrace})
Creates a failed state with error information.
const

Properties

error Object
The error that caused the upload to fail.
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?
Optional stack trace for debugging 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