delete method
Deletes the document referred to by document
.
Implementation
void delete(DocumentReference document) {
assert(
document.firestore == _firestore,
'the document provided is from a different Firestore instance',
);
return _delegate.delete(document.path);
}