StorageUtil class abstract

Implementers

Constructors

StorageUtil.new()

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

chunkedRelayUploadFile(Uri url, String totalChunks, String currentChunk, String serverType, String uploadPath, String uploadName, String mimeType) Future<bool>
chunkedUploadFile(Uri url, String serverType, String uploadPath, String uploadName, String fileType, Uint8List fileBytes, {void progressCallback(int loaded, int total)?}) Future<bool>
downloadFile(Uint8List fileBytes, String saveName, {String savePath = ''}) Future<bool>
downloadUrl(String url, String saveName, {int timeout = 1800, void progressCallback(int loaded, int total)?}) Future<bool>
generateImageThumbnailFromBinary(Uint8List imageBytes) Uint8List?
generateImageThumbnailFromFile(dynamic imageFile) Future<Uint8List?>
generateVideoThumbnailFromBinary(Uint8List videoBytes, {String fileName = ''}) Future<Uint8List?>
generateVideoThumbnailFromFile(dynamic videoFile) Future<Uint8List?>
getPersonalFolderName(String email, String userId) String
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
postUploadFile(Uri url, String apiKey, dynamic file, {int timeout = 1800, void progressCallback(int loaded, int total)?}) Future<bool>
preSignUploadFile(Uri url, dynamic file, {int timeout = 1800, void progressCallback(int loaded, int total)?}) Future<bool>
resizeImage(Uint8List imageBytes, int resizeWidth, int resizeHeight) Uint8List?
sanitizeFileName(String fileName, {String replaceText = '_'}) String
toString() String
A string representation of this object.
inherited
webFileToBytes(dynamic file) Future<Uint8List>

Operators

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