SpanEvent class

Represents an event that occurred during a span's lifetime.

Span events provide additional context about specific points in time during the execution of a span. They can include information about important state changes, errors, or other notable occurrences.

Annotations
  • @immutable

Properties

attributes → Attributes?
Additional attributes providing context about this event.
final
hashCode → int
The hash code for this object.
no setterinherited
name → String
The name of this event.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
timestamp → DateTime
The time at which this event occurred.
final

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.
inherited