UploadProgress class
Represents the progress of an upload.
Constructors
- UploadProgress({required String uploadId, required int bytesUploaded, required int totalBytes, required UploadStatus status})
-
const
-
UploadProgress.fromMap(Map<
String, dynamic> map) -
factory
Properties
- bytesUploaded → int
-
Number of bytes uploaded so far
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- percentage → double
-
Upload progress as a percentage (0-100)
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status → UploadStatus
-
Current status of the upload
final
- totalBytes → int
-
Total number of bytes to upload
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