update static method
Implementation
static Future<int> update(
String table,
CacheDBBaseModel model, {
String? columnName,
}) async =>
await _db!.update(
table,
model.toMap(),
where: '$columnName = ?',
whereArgs: [model.id],
);