diff --git a/lib/src/core/dart_ddi_event_impl.dart b/lib/src/core/dart_ddi_event_impl.dart index 68ff54f..326d180 100644 --- a/lib/src/core/dart_ddi_event_impl.dart +++ b/lib/src/core/dart_ddi_event_impl.dart @@ -24,7 +24,7 @@ class _DDIEventImpl implements DDIEvent { final existingEvents = _events[effectiveQualifierName]!.cast>(); final isDuplicate = existingEvents - .any((existingEvent) => existingEvent.hashCode == event.hashCode); + .any((existingEvent) => existingEvent.event.hashCode == event.hashCode); if (!isDuplicate) { existingEvents.add(Event(