delete method

Future<void> delete(
  1. String id
)

Deletes the PreciseDateTime identified by the provided id from the database.

Implementation

Future<void> delete(String id) async {
  await safe((db) async {
    final stmt = db.delete(db.callKitCalls)..where((e) => e.id.equals(id));
    await stmt.go();
  });
}