addEvent abstract method

void addEvent(
  1. String name,
  2. Int64 timestamp, {
  3. List<Attribute>? attributes,
})

Record metadata about an event occurring during this span.

Implementation

void addEvent(String name, Int64 timestamp,
    {List<api.Attribute>? attributes});