deleteSync method
Synchronously deletes this FileSystemEntity.
The exact details vary according to the FileSystemEntity:
Implementation
@override
void deleteSync({bool recursive = false}) {
fs.rmdirSync(path, RmdirOptions(recursive: recursive));
}