applyToSpan method

void applyToSpan(
  1. ISentrySpan? span
)

Implementation

void applyToSpan(ISentrySpan? span) {
  if (span == null) {
    return;
  }
  if (url != null) {
    span.setData('url', url);
  }
  if (query != null) {
    span.setData("http.query", query);
  }
  if (fragment != null) {
    span.setData("http.fragment", fragment);
  }
}