delete method

Future<WriteResult> delete()

this will delete the document

Implementation

Future<WriteResult> delete() async {
  var selector = where.eq('_id', _id);
  return _collRef.deleteOne(selector);
}