rename method

Future<void> rename(
  1. String oldPath,
  2. String newPath,
  3. bool overwrite, [
  4. CancelToken? cancelToken,
])

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);
}