rename method

  1. @override
Future<FileSystemEntity> rename(
  1. String newPath
)
inherited

Renames this file system entity.

Returns a Future<FileSystemEntity> that completes with a FileSystemEntity instance for the renamed file system entity.

Implementation

@override
Future<FileSystemEntity> rename(String newPath) {
  return Future.value(renameSync(newPath));
}