SpanId.fromIdGenerator constructor

SpanId.fromIdGenerator(
  1. IdGenerator generator
)

Implementation

factory SpanId.fromIdGenerator(api.IdGenerator generator) {
  return SpanId(generator.generateSpanId());
}