withSpan abstract method

  1. @Deprecated('This method will be removed in 0.19.0. Use [contextWithSpan] instead.')
Context withSpan(
  1. Span span
)

Returns a new Context created from this one with the given Span set.

Implementation

@Deprecated(
    'This method will be removed in 0.19.0. Use [contextWithSpan] instead.')
Context withSpan(Span span);