rename abstract method

Future<FileSystemEntity> rename(
  1. String newPath
)

Renames this file system entity.

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

Implementation

Future<FileSystemEntity> rename(String newPath);