move method

Future<void> move(
  1. String oldPath,
  2. String newPath
)

Moves a file to a new path

Implementation

Future<void> move(String oldPath, String newPath) async =>
    await moveFile(oldPath.replaceSeparator(), newPath.replaceSeparator());