FileTool extension

on

Methods

copyTo(String folderPath, String fileName, {String? desiredExtension}) Future<File>

Available on File, provided by the FileTool extension

Copies the file to the specified folder with the given file name, ensuring a unique name to avoid overwriting existing files.