deleteAll method

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

Implementation

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