Span constructor

Span({
  1. required String traceId,
  2. required String spanId,
  3. String? parentSpanId,
  4. required String name,
  5. required SpanKind kind,
  6. required int startTimeUnixNano,
  7. required int endTimeUnixNano,
  8. List<Attribute> attributes = const [],
  9. Status? status,
  10. int? flags,
})

Implementation

Span({
  required this.traceId,
  required this.spanId,
  this.parentSpanId,
  required this.name,
  required this.kind,
  required this.startTimeUnixNano,
  required this.endTimeUnixNano,
  this.attributes = const [],
  this.status,
  this.flags,
});