updateFilter method
Updates the eventFilter.
This will also refresh the UI to reflect the latest event filter.
Implementation
void updateFilter({required EventFilter<T> newFilter}) {
if (newFilter != _eventFilter) {
_eventFilter = newFilter;
notifyListeners();
}
}