SaveToCache class

Main

Constructors

SaveToCache()

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

saveFile({required File file, String? name}) Future<File>
If the save is successful, the path of the saved file will be returned
saveFiles({required List<File> files, List<String>? names}) Future<List<File>>
Returns a list of files after saving If names is empty the filename will be taken over time
saveFilesWithFolder({required List<File> files, required String folderName, List<String>? names}) Future<List<File>>
Returns a new file list after it has been saved If names is empty the filename will be taken over time
saveFileWithFolder({required File file, required String folderName, String? name}) Future<File>
Return new file after adding /// If name is empty the filename will be taken over time