Span constructor
Span({})
Starts a span named name in context.
Implementation
Span({
required this.name,
required this.context,
this.parentSpanId,
DateTime? startedAt,
Map<String, Object?>? attributes,
}) : startedAt = startedAt ?? DateTime.now().toUtc(),
attributes = attributes ?? <String, Object?>{};