renameFile abstract method

bool renameFile(
  1. String oldPath,
  2. String newPath
)

Rename a file from oldPath to newPath. Returns true if successful, false otherwise.

Implementation

bool renameFile(String oldPath, String newPath);