FileUtils class

Utility class for file operations

Constructors

FileUtils.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

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 Properties

appDir Future<Directory>
Get the application documents directory
no setter
imagesDir Future<Directory>
Get the images directory
no setter
modelsDir Future<Directory>
Get the models directory
no setter

Static Methods

cleanupTempFiles() Future<void>
Clean up temporary files
downloadFile(String url) Future<List<int>>
Download a file from a URL
saveImage(File imageFile) Future<String>
Save an image file to the app's images directory
saveModel(List<int> modelData, String extension) Future<String>
Save a model file to the app's models directory