I want to check specific field if its duplicate in another document or not before I add document to my collection
await FirebaseFirestore.instance.collection('Cars').add({
'Car Owner Name': 'uj',
'Car Make': CarMake,
'Car Name': CarName,
'Car Year': CarYear,
'Plate Number': PlateNumber,
});
the field is Plate Number