delete method
- DocumentReference<
Object?> docRef
Queues a delete operation for the given document.
Parameters:
docRef: The document reference to delete.
Example:
batch.delete(docRef);
Implementation
void delete(DocumentReference docRef) {
__operations.add(
{"method": "delete", "docRef": docRef, "data": null, "options": null});
}