InstrumentationScope constructor
InstrumentationScope({})
Implementation
factory InstrumentationScope({
$core.String? name,
$core.String? version,
$core.Iterable<KeyValue>? attributes,
$core.int? droppedAttributesCount,
}) {
final $result = create();
if (name != null) {
$result.name = name;
}
if (version != null) {
$result.version = version;
}
if (attributes != null) {
$result.attributes.addAll(attributes);
}
if (droppedAttributesCount != null) {
$result.droppedAttributesCount = droppedAttributesCount;
}
return $result;
}