FileApi class

Constructors

FileApi(ApiClient apiClient)

Properties

apiClient ApiClient
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyFile(String srcPath, String destPath, {String? srcStorageName, String? destStorageName, String? versionId}) Future
Copy file
deleteFile(String path, {String? storageName, String? versionId}) Future
Delete file
downloadFile(String path, {String? storageName, String? versionId}) Future<Uint8List>
Download file
moveFile(String srcPath, String destPath, {String? srcStorageName, String? destStorageName, String? versionId}) Future
Move file
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
uploadFile(String path, MultipartFile file, {String? storageName}) Future<FilesUploadResult>
Upload file

Operators

operator ==(Object other) bool
The equality operator.
inherited