dequeue method
Removes one or multiple events from the queue @param events events to remove
Implementation
Future dequeue(List<RawEvent> eventsToRemove) async {
await _state!.ready;
final events = await _state!.events;
for (var event in eventsToRemove) {
events.remove(event);
}
_state!.setEvents(events);
}