deleteDirectory function

Future deleteDirectory(
  1. Directory dir, {
  2. DeleteOptions? options,
})

Delete a directory recursively

Implementation

Future deleteDirectory(Directory dir, {DeleteOptions? options}) =>
    fs.deleteDirectory(fs_io.wrapIoDirectory(dir), options: options);