removeEvent method
Implementation
@override
Future<void> removeEvent(String id) async {
await dbRdy;
final eventBox = _objectBox.store.box<DbNip01Event>();
final existingEvent =
eventBox.query(DbNip01Event_.nostrId.equals(id)).build().findFirst();
if (existingEvent != null) {
eventBox.remove(existingEvent.dbId);
}
_removeEventSidecarsByIds([id]);
if (existingEvent != null) {
await _syncUserRelayListProjectionForEvent(existingEvent.toNdk());
}
}