From a2eac482f0308f5f79db4526bea1335f4fcbdd45 Mon Sep 17 00:00:00 2001 From: Willian Marchesan Date: Sat, 20 Jan 2024 22:01:57 -0300 Subject: [PATCH] Doc: Fix hashCode validation --- lib/src/core/dart_ddi_event_impl.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(