deleteNotification method

Future<int> deleteNotification(
  1. int? id
)

Implementation

Future<int> deleteNotification(int? id) async {
  Database db = await (this.database as FutureOr<Database>);
  return await db.delete('notification',
    where: "id = ?",
    whereArgs: [id],
  );
}