deleteAll method

  1. @override
Future<void> deleteAll()
override

Implementation

@override
Future<void> deleteAll() {
  return presentationCollection.get().then((snapshot) {
    for (DocumentSnapshot ds in snapshot.docs) {
      ds.reference.delete();
    }
  });
}