renameSync method
Synchronously renames this file system entity.
Returns a FileSystemEntity instance for the renamed entity.
Implementation
@override
Directory renameSync(String newPath) =>
throw UnimplementedError('Sync operations not supported');