rename method
Rename a folder or file If you rename the folder, some webdav services require a '/' at the end of the path.
Implementation
Future<void> rename(String oldPath, String newPath, bool overwrite,
[CancelToken? cancelToken]) {
return this.c.wdCopyMove(this, oldPath, newPath, false, overwrite);
}