UploadResult class

Result of an upload operation.

Constructors

UploadResult({required String uploadId, required UploadStatus status, int? statusCode, String? response, String? error})
const
UploadResult.fromMap(Map<String, dynamic> map)
factory

Properties

error String?
Error message (if failed)
final
hashCode int
The hash code for this object.
no setterinherited
isSuccess bool
Whether the upload was successful
no setter
response String?
Response body (if completed)
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status UploadStatus
Final status of the upload
final
statusCode int?
HTTP status code (if completed)
final
uploadId String
Unique identifier for the upload task
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited