renameSync method
Synchronously renames this file system entity.
Returns a FileSystemEntity instance for the renamed entity.
Implementation
@override
File renameSync(String newPath) {
fs.renameSync(path, newPath);
return File(newPath);
}
Synchronously renames this file system entity.
Returns a FileSystemEntity instance for the renamed entity.
@override
File renameSync(String newPath) {
fs.renameSync(path, newPath);
return File(newPath);
}