operator == method
Checks the equality of LogEvent instances based on the event name.
This allows for comparison between instances, primarily focusing on the event name to determine equality. Useful in scenarios where event uniqueness is determined by the event name alone.
Implementation
@override
bool operator ==(Object other) {
if (identical(this, other)) return true;
if (other is! LogEvent) return false;
return eventName == other.eventName;
}