delete method

  1. @override
Future<int> delete(
  1. int id
)
override

Deletes a cache object by id

Implementation

@override
Future<int> delete(int id) {
  return db!.delete(_tableCacheObject,
      where: '${CacheObject.columnId} = ?', whereArgs: [id]);
}