AttributedSpans constructor
AttributedSpans({
- List<
SpanMarker> ? attributions,
Constructs an AttributedSpans with the given attributions
.
attributions
may be omitted to create an AttributedSpans
with no spans.
Implementation
AttributedSpans({
List<SpanMarker>? attributions,
}) : _markers = [...?attributions] {
_sortAttributions();
}