delete method
Marks the item with the given id
as deleted in the local database.
Implementation
@override
Future<void> delete(String id) async {
final now = DateTime.now().toIso8601String();
await (database).update(
tableName,
{'deleted_at': now, 'updated_at': now},
where: 'id = ?',
whereArgs: [id],
);
}