FileApi class
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