delete method

void delete(
  1. int id
)

Permanently remove an event. Used by the "Needs attention" UI when the user explicitly discards a row, and for periodic cleanup of synced rows older than a retention window (not yet implemented).

Implementation

void delete(int id) {
  _requireReady();
  _db!.execute('DELETE FROM outbox_events WHERE id = ?', [id]);
}