deleteSync method
Synchronously deletes this FileSystemEntity.
The exact details vary according to the FileSystemEntity:
Implementation
@override
void deleteSync({bool recursive = false}) {
if (recursive) {
throw UnsupportedError('Recursive flag is not supported by Node.js');
}
fs.unlinkSync(_absolutePath);
}