delete static method

Future<int> delete(
  1. String table,
  2. CacheDBBaseModel model
)

Implementation

static Future<int> delete(String table, CacheDBBaseModel model) async =>
    await _db!.delete(
      table,
      where: 'id = ?',
      whereArgs: [model.id],
    );