Context: In the frontend the user can enter of delete dates for availability. This is how I added a date:
Firestore.instance.collection('availableDates').add({
'availableDates':date});
But I also need to delete a document
from a collection
in Firestore
. I don't know the document
id but I know the the field value
which is unique. How would I go about deleting the document if I know the field value within the document. Here is a screen shot of firestore: