delete function
dynamic
delete(
- dynamic table,
- dynamic cond
Implementation
delete(table, cond) async {
CollectionReference<Map<String, dynamic>> tempString;
tempString = FirebaseFirestore.instance.collection(table);
tempString.doc(cond).delete().then((value) {
return cond;
});
}