deleteDocument abstract method

Future<void> deleteDocument(
  1. String collection,
  2. String documentId
)

Deletes a document from the specified Firestore collection.

collection: The name of the Firestore collection. documentId: The ID of the document to be deleted.

Returns a Future that resolves when the document is deleted.

Implementation

Future<void> deleteDocument(String collection, String documentId);