📅  最后修改于: 2022-03-11 15:00:29.540000             🧑  作者: Mango
//Dart
firestore.collection('messages').getDocuments().then((snapshot) {
for (DocumentSnapshot ds in snapshot.documents){
ds.reference.delete();
});
});