Span_Event constructor

Span_Event({
  1. Int64? timeUnixNano,
  2. String? name,
  3. Iterable<KeyValue>? attributes,
  4. int? droppedAttributesCount,
})

Implementation

factory Span_Event({
  $fixnum.Int64? timeUnixNano,
  $core.String? name,
  $core.Iterable<$1.KeyValue>? attributes,
  $core.int? droppedAttributesCount,
}) {
  final $result = create();
  if (timeUnixNano != null) {
    $result.timeUnixNano = timeUnixNano;
  }
  if (name != null) {
    $result.name = name;
  }
  if (attributes != null) {
    $result.attributes.addAll(attributes);
  }
  if (droppedAttributesCount != null) {
    $result.droppedAttributesCount = droppedAttributesCount;
  }
  return $result;
}