deleteSync method - File class - dart:io library (original) (raw)

deleteSync abstract method

void deleteSync({

  1. bool recursive = false, })

override

Synchronously deletes this File.

If recursive is false:

If recursive is true:

If this File cannot be deleted, then delete throws aFileSystemException.

Implementation

void deleteSync({bool recursive = false});