delete method Null safety

Future<int> delete(
  1. Insertable<D> entity
)

Deletes just this entity. May not be used together with where.

Returns the amount of rows that were deleted by this statement directly (not including additional rows that might be affected through triggers or foreign key constraints).

Implementation

Future<int> delete(Insertable<D> entity) {
  _prepareDeleteOne(entity);
  return go();
}