deleteEventWithId method

Future<void> deleteEventWithId(
  1. int dateTime
)

Implementation

Future<void> deleteEventWithId(int dateTime) async {
  Database db = await database;

  await db
      .delete("$eventTable", where: "$colDateTime=?", whereArgs: [dateTime]);
}