delete abstract method

Future delete(
  1. DocumentReference<Object?> docRef
)

This method is used to delete a document When you call this method, Firestore deletes the entire document and all of its contents from the database.

Implementation

Future delete(DocumentReference docRef);