dbDeleteDocumentInTable function

dynamic dbDeleteDocumentInTable(
  1. String tableName,
  2. String document
)

Implementation

dbDeleteDocumentInTable(String tableName, String document) async{
  await FirebaseFirestore.instance.collection(tableName).doc(document).delete();
}