removeAggregatedEvent method

void removeAggregatedEvent(
  1. Event event
)

Implementation

void removeAggregatedEvent(Event event) {
  aggregatedEvents.remove(event.eventId);
  if (event.unsigned != null) {
    aggregatedEvents.remove(event.unsigned?['transaction_id']);
  }
  for (final types in aggregatedEvents.values) {
    for (final events in types.values) {
      _removeEventFromSet(events, event);
    }
  }
}