icloud_storage library

Classes

ContainerItem
A file or directory entry from the iCloud ubiquity container, enumerated via FileManager.contentsOfDirectory with URL resource values.
GatherResult
Result of a gather operation.
ICloudDocumentChange
Typed event emitted when an observed iCloud document changes.
ICloudFile
Metadata for an iCloud file or directory.
ICloudItemMetadata
Typed metadata for a known iCloud item path.
ICloudStorage
The main class for the plugin. Provides streaming, file-path-only access to files in an iCloud Drive ubiquity container using Apple's document APIs.
ICloudTransferProgress
A typed data event emitted from upload/download progress streams.
ICloudVersion
A descriptor for a single unresolved NSFileVersion conflict version, surfaced from the native layer via the version-exposure primitives.

Enums

DownloadStatus
Download status of an iCloud item.
ICloudDocumentChangeKind
Stable event kinds emitted by the native document presenter bridge.
ICloudTransferProgressType
The state of a transfer progress stream event.

Functions

parseDownloadStatus(String? value) → DownloadStatus?
Parses the normalized download-status wire values.

Exceptions / Errors

ICloudCancelledException
Thrown when an iCloud operation is cancelled.
ICloudConflictException
Thrown when a version-exposure primitive (enumerate / copy-out / mark-resolved) fails. The plugin only EXPOSES NSFileVersions; it never auto-resolves or silently deletes losing versions, so this exception never represents an auto-resolved outcome.
ICloudContainerAccessException
Thrown when the iCloud container cannot be accessed.
ICloudCoordinationException
Thrown when file coordination fails for another reason.
ICloudInitializationException
Thrown when the native plugin is not initialized.
ICloudInvalidArgumentException
Thrown when native code reports invalid write-path arguments.
ICloudItemNotFoundException
Thrown when the requested item does not exist.
ICloudOperationException
Base class for typed iCloud operation failures surfaced from native code.
ICloudUnknownNativeException
Thrown when native code reports an unknown structured failure.
InvalidArgumentException
An exception class used for development. It's used when invalid argument is passed to the API