rename method
- String newPath
override
Renames this file system entity.
Returns a Future<FileSystemEntity>
that completes with a
FileSystemEntity instance for the renamed file system entity.
Implementation
@override
Future<T> rename(String newPath) async =>
wrap(await delegate.rename(newPath) as D);