FileManagerLogic class

Constructors

FileManagerLogic()

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

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

getFileData({required File file, required String fileTitle}) Map<String, dynamic>
Gets the file metadata that is to be consumed by the api
getFileSize(File file) Future<int>
Converts the file size from Bytes to Kilobytes
selectFileFromGallery({required BuildContext context, required UploadReturnId uploadAndReturnIdFunction, required Function toggleUpload, required String fileTitle, required void updateUIFunc(File file, String uploadId)}) Future<void>
Selects a file from the gallery