APISpanCreate class
Internal constructor access for Span
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
create(
{required String name, required SpanContext spanContext, required APISpan? parentSpan, required InstrumentationScope instrumentationScope, SpanKind spanKind = SpanKind.internal, Attributes? attributes, List< SpanLink> ? links, List<SpanEvent> ? spanEvents, DateTime? startTime, bool isRecording = true}) → APISpan - Creates a new APISpan instance with the specified parameters. This constructor is only accessible within the library and is used by the internal factory methods. Users should create spans using Tracer.startSpan() instead of using this directly.