TraceId class
Class representing an ID for a single Trace. See https://www.w3.org/TR/trace-context/#trace-id for full specification.
Constructors
-
TraceId(List<
int> _id) - TraceId.fromIdGenerator(IdGenerator generator)
-
factory
- TraceId.fromString(String id)
-
factory
- TraceId.invalid()
Properties
Methods
-
get(
) → List< int> - Retrieve this TraceId as a list of byte values.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
Retrieve this SpanId as a human-readable ID.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited