deleteAll method

dynamic deleteAll()

Implementation

deleteAll() {
  database().get().then((value) {
    for (var element in value.docs) {
      element.reference.delete();
    }
  });
}