deleteDocument method

Future<void> deleteDocument(
  1. String collectionPath,
  2. String docId
)

Implementation

Future<void> deleteDocument(String collectionPath, String docId) async {
  await _db.collection(collectionPath).doc(docId).delete();
}