delete method

Transaction delete(
  1. DocumentReference documentRef
)

Deletes the document referred to by the provided DocumentReference.

The DocumentReference parameter is a reference to the document to be deleted. Value must not be null.

Returns non-null Transaction used for chaining method calls.

Implementation

Transaction delete(DocumentReference documentRef) =>
    Transaction.getInstance(jsObject.delete(documentRef.jsObject));