MethodChannelBackgroundFileUploader class
An implementation of BackgroundFileUploaderPlatform that uses method channels.
- Inheritance
-
- Object
- PlatformInterface
- BackgroundFileUploaderPlatform
- MethodChannelBackgroundFileUploader
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- methodChannel → MethodChannel
-
The method channel used to interact with the native platform.
final
- progressEventChannel → EventChannel
-
The event channel for upload progress updates.
final
-
progressStream
→ Stream<
UploadProgress> -
Stream of upload progress updates.
no setteroverride
- resultEventChannel → EventChannel
-
The event channel for upload results.
final
-
resultStream
→ Stream<
UploadResult> -
Stream of upload results (completion/failure).
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
cancelUpload(
String uploadId) → Future< bool> -
Cancel an ongoing upload.
override
-
getUploadStatus(
String uploadId) → Future< UploadProgress?> -
Get the current status of an upload.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
uploadFile(
UploadTask task) → Future< String?> -
Start a background upload task.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited