SpanEvent class

A representation of a collection of metadata attached to a trace span.

Constructors

SpanEvent({required Int64 timestamp, required String name, required Iterable<Attribute> attributes, int droppedAttributesCount = 0})
SpanEvent.fromJson(Map<String, dynamic> json)
factory

Properties

attributes → Iterable<Attribute>
The attributes of the event.
final
droppedAttributesCount → int
Count of attributes of the event that were dropped due to collection limits
final
hashCode → int
The hash code for this object.
no setterinherited
name → String
The name of the event.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
timestamp → Int64
final

Methods

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

Operators

operator ==(Object other) → bool
The equality operator.
inherited