delete method

  1. @override
void delete()
override

Synchronously deletes this resource and its children.

Throws an exception if the resource cannot be deleted.

Implementation

@override
void delete() {
  file.deleteSync();
}