delete method Null safety

void delete()

Synchronously deletes this resource and its children.

Throws an exception if the resource cannot be deleted.

Implementation

void delete();