hashCode property

  1. @override
int get hashCode
override

Generates a hash code based on the event name.

This is useful for maintaining efficiency in collections that are based on hash tables, like sets or maps.

Implementation

@override
int get hashCode {
  return Object.hash(
    super.hashCode,
    tags,
    source,
    host,
    service,
    env,
    traceId,
    spanId,
    attributes,
  );
}