delete method
Deletes the current document from the collection.
Implementation
@override
Future<void> delete(DocumentId docId) async {
await _addToBatch((batch) {
batch.delete(collection.ref.doc(docId.docId));
});
}
Deletes the current document from the collection.
@override
Future<void> delete(DocumentId docId) async {
await _addToBatch((batch) {
batch.delete(collection.ref.doc(docId.docId));
});
}