saveFile static method
Salva un file sourceFile
nella directory dell'app con nome filename
.
Restituisce il nuovo file copiato.
Implementation
static Future<File> saveFile(File sourceFile, String filename) async {
final path = await _localPath;
final newPath = p.join(path, filename);
return sourceFile.copy(newPath);
}