UploadResult class
Result data from HttpUploadWorker.
- Annotations
Constructors
- UploadResult({required int statusCode, required int uploadedSize, required int fileCount, String? responseBody})
-
const
Properties
- fileCount → int
-
Number of files included in the upload.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- responseBody → String?
-
Raw response body from the server, if any.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- statusCode → int
-
final
- uploadedSize → int
-
Total bytes sent.
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
Static Methods
-
from(
Map< String, dynamic> ? data) → UploadResult?