TraceState class
Representation of the state of a trace.
See W3C documentation: https://www.w3.org/TR/trace-context/#tracestate-header
Constructors
- TraceState.empty()
- TraceState.fromString(String traceState)
Properties
Methods
-
get(
String key) → String -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
put(
String key, String value) → void - Adds a key value pair to the TraceState.
-
remove(
String key) → void - Removes a key value pair from the TraceState.
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- validKeyRegex → RegExp
-
final
- validValueRegex → RegExp
-
final
Static Methods
-
getDefault(
) → TraceState