Deleting a Firestore Document in FlutterAug 21, 2021 . 0 min Muhammed Mukhthar CM
There is no need for a huge story here. Deleting a Firestore document is a straightforward thing.
We just have to point to a doc and call
delete on it.
final _db = FirebaseFirestore.instance; await _db.collection("notes").doc("note1").delete();
The pointed document will be deleted by the above function.