deleteAll method

Future<int> deleteAll()

Implementation

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