deleteSync method

void deleteSync({
  1. bool recursive = false,
})

Synchronously deletes this FileSystemEntity.

The exact details vary according to the FileSystemEntity:

Implementation

void deleteSync({bool recursive = false}) =>
    _deleteSync(recursive: recursive);