EventId class

Identifies a logging event.

The primary identifier is the 'Id' property, with the 'Name' property providing a short description of this type of event.

Constructors

EventId(int id, String? name)
Initializes an instance of the EventId.
const
EventId.empty()
Initializes an empty instance of EventId.
factory

Properties

hashCode int
The hash code for this object.
no setteroverride
id int
The numeric identifer for this event.
final
name String?
The name of this event.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
override