delete method
Deletes the document referred to by this DocumentReference.
Returns non-null Future that resolves once the document has been successfully deleted from the backend (Note that it won't resolve while you're offline).
Implementation
Future<void> delete() => handleThenable(jsObject.delete());