AbsStorage class abstract

Implementers

Constructors

AbsStorage()

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?>
copyFileFromUrl(String fileUrl, {String? bucketId}) Future<FileModel?>
createThumbnail(String fileId, String fileName, String fileType, String bucketId) Future<bool>
deleteFile(String fileId, {String? bucketId}) Future<bool>
deleteFileFromUrl(String fileUrl) Future<bool>
downloadFile(String fileId, String saveName, {String? bucketId}) Future<bool>
downloadFileFromUrl(String fileUrl, String saveName) Future<bool>
getFileBytes(String fileId, {String? bucketId}) Future<Uint8List?>
getFileData(String fileId, {String? bucketId}) Future<FileModel?>
getFileDataFromUrl(String fileUrl) Future<FileModel?>
getImageUrl(String path) Future<String>
getMultiFileData(List<String> fileIds, {String? bucketId}) Future<List<FileModel>>
initialize() Future<void>
moveFile(String sourceBucketId, String sourceFileId, {String? bucketId}) Future<FileModel?>
moveFileFromUrl(String fileUrl, {String? bucketId}) Future<FileModel?>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
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?>

Operators

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

Static Properties

fbStorageConn → FirebaseApp?
no setter
sbStorageConn → SupabaseClient?
no setter

Static Methods

setFirebaseApp(FirebaseApp firebaseApp) → void
setSupabaseApp(SupabaseClient supabaseClient) → void