delete method

  1. @override
  2. @mustCallSuper
FutureOr<void> delete(
  1. StockReconciliationModel entity, {
  2. bool createOpLog = true,
})
inherited

The delete method deletes an existing entity.

Implementation

@override
@mustCallSuper
FutureOr<void> delete(D entity, {bool createOpLog = true}) async {
  if (createOpLog) await createOplogEntry(entity, DataOperation.delete);
}