delete method
this will delete the document
Implementation
Future<WriteResult> delete() async {
var selector = where.eq('_id', _id);
return _collRef.deleteOne(selector);
}
this will delete the document
Future<WriteResult> delete() async {
var selector = where.eq('_id', _id);
return _collRef.deleteOne(selector);
}