FileHandlerPlatform class abstract

The interface that implementations of FileHandler must implement.

Constructors

FileHandlerPlatform()

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

deleteFile(String filePath) Future<bool>
downloadFile({required String url, required String fileName, required String directory, void onProgress(double progress)?}) Future<String?>
fileExists(String filePath) Future<bool>
getApplicationDocumentsDirectory() Future<String>
getTemporaryDirectory() Future<String>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
requestStoragePermission() Future<bool>
saveFile({required List<int> bytes, required String fileName, required String directory}) Future<bool>
toString() String
A string representation of this object.
inherited

Operators

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