SpanId class

The length is exactly 16 characters. Dashes are not allowed. Has to be lowercase.

Annotations
  • @immutable

Constructors

SpanId.empty()
SpanId with an empty UUID
const
SpanId.fromId(String id)
Generates a SpanId with the given UUID
SpanId.newId()
Generates a new SpanId

Properties

hashCode int
The hash code for this object.
no setteroverride
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.
override

Operators

operator ==(Object o) bool
The equality operator.
override