ScopeSpans constructor
ScopeSpans({
- InstrumentationScope? scope,
- Iterable<
Span> ? spans, - String? schemaUrl,
Implementation
factory ScopeSpans({
$1.InstrumentationScope? scope,
$core.Iterable<Span>? spans,
$core.String? schemaUrl,
}) {
final result = create();
if (scope != null) result.scope = scope;
if (spans != null) result.spans.addAll(spans);
if (schemaUrl != null) result.schemaUrl = schemaUrl;
return result;
}