deleteDocument method
Deletes a document from the specified collection
Implementation
@override
Future<void> deleteDocument(String collection, String id) async {
final coll = _collection(collection);
await coll.deleteOne({'_id': id});
}
Deletes a document from the specified collection
@override
Future<void> deleteDocument(String collection, String id) async {
final coll = _collection(collection);
await coll.deleteOne({'_id': id});
}