delete method

Future<FileSystemEntity> delete({
  1. bool recursive = false,
})

Deletes this FileSystemEntity.

The exact details vary according to the FileSystemEntity:

Implementation

Future<FileSystemEntity> delete({bool recursive = false}) =>
    _delete(recursive: recursive);