Future<void> deleteEventWithId(int dateTime) async { Database db = await database; await db .delete("$eventTable", where: "$colDateTime=?", whereArgs: [dateTime]); }