Properties
-
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 sourceBucketId, String sourceFileId, {String bucketId = ""})
→ Future<FileModel?>
-
-
createThumbnail(String sourceFileId, String sourceFileName, String sourceFileType, String sourceBucketId)
→ Future<bool>
-
-
deleteFile(String fileId, {String bucketId = ""})
→ Future<bool>
-
-
downloadFile(String fileId, String fileName, {String bucketId = ""})
→ Future<bool>
-
-
getFileBytes(String fileId, {String bucketId = ""})
→ Future<Uint8List?>
-
-
getFileData(String fileId, {String bucketId = ""})
→ Future<FileModel?>
-
-
getMultiFileData({String search = "", int limit = 99, int? offset, String? cursor, String cursorDirection = "after", String orderType = "DESC", String bucketId = ""})
→ Future<List<FileModel>?>
-
-
initialize()
→ Future<void>
-
-
moveFile(String sourceBucketId, String sourceFileId, {String bucketId = ""})
→ Future<FileModel?>
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
parseFileUrl(String fileUrl)
→ Map<String, String>
-
-
setBucket()
→ Future<void>
-
-
toString()
→ String
-
A string representation of this object.
inherited
-
uploadFile(String fileName, String fileType, Uint8List fileBytes, {bool makeThumbnail = false, String usageType = "content", String bucketId = ""})
→ Future<FileModel?>
-