cloud_storage_platform_interface 0.1.0
cloud_storage_platform_interface: ^0.1.0 copied to clipboard
Backend-agnostic contract for cloud_storage — a Flutter file/folder/link storage layer. Implement this to add a new backend.
0.1.0 #
Initial release.
- Sealed
CloudNodehierarchy:CloudFolder,CloudFile,CloudLink. CloudStorageabstract contract for a backend-agnostic file/folder/link storage layer:- Live folder listings via
watchFolder. - File uploads with progress streams and optional pre-supplied JPEG
thumbnail / preview variants (
upload,setThumbnail). - Folder / file / link mutations:
create*,rename*,move*,delete*,updateLinkUrl.
- Live folder listings via
- Supporting types:
Source(FileSource/BytesSource/XFileSource),UploadTask,UploadProgress,UploadStatus. - Exception hierarchy:
CloudStorageException,NotFoundException,PermissionDeniedException,InvalidArgumentException,UploadFailedException,DownloadFailedException,UnauthenticatedException.