MethodChannelIcloudStorageSync class
An implementation of IcloudStorageSyncPlatform that uses method channels.
- Inheritance
-
- Object
- PlatformInterface
- IcloudStorageSyncPlatform
- MethodChannelIcloudStorageSync
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
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
delete(
{required String containerId, required String relativePath}) → Future< void> -
Deletes a file from iCloud.
override
-
download(
{required String containerId, required String relativePath, required String destinationFilePath, StreamHandler< double> ? onProgress}) → Future<void> -
Downloads a file from iCloud.
override
-
gather(
{required String containerId, StreamHandler< List< ? onUpdate}) → Future<ICloudFile> >List< ICloudFile> > -
Gathers iCloud files and their metadata.
override
-
getCloudFiles(
{required String containerId}) → Future< void> -
Retrieves iCloud files for a specific container.
override
-
getPlatformVersion(
) → Future< String?> -
override
-
move(
{required String containerId, required String fromRelativePath, required String toRelativePath}) → Future< void> -
Moves a file within iCloud.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
upload(
{required String containerId, required String filePath, required String destinationRelativePath, StreamHandler< double> ? onProgress}) → Future<void> -
Uploads a file to iCloud.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited