SpanLimits constructor

const SpanLimits({
  1. int maxNumAttributes = _DEFAULT_MAXNUM_ATTRIBUTES,
  2. int maxNumEvents = _DEFAULT_MAXNUM_EVENTS,
  3. int maxNumLink = _DEFAULT_MAXNUM_LINKS,
  4. int maxNumAttributesPerEvent = _DEFAULT_MAXNUM_ATTRIBUTES_PER_EVENT,
  5. int maxNumAttributesPerLink = _DEFAULT_MAXNUM_ATTRIBUTES_PER_LINK,
  6. int maxNumAttributeLength = _DEFAULT_MAXNUM_ATTRIBUTES_LENGTH,
})

Implementation

const SpanLimits(
    {int maxNumAttributes = _DEFAULT_MAXNUM_ATTRIBUTES,
    int maxNumEvents = _DEFAULT_MAXNUM_EVENTS,
    int maxNumLink = _DEFAULT_MAXNUM_LINKS,
    int maxNumAttributesPerEvent = _DEFAULT_MAXNUM_ATTRIBUTES_PER_EVENT,
    int maxNumAttributesPerLink = _DEFAULT_MAXNUM_ATTRIBUTES_PER_LINK,
    int maxNumAttributeLength = _DEFAULT_MAXNUM_ATTRIBUTES_LENGTH})
    : _maxNumAttributes = maxNumAttributes,
      _maxNumEvents = maxNumEvents,
      _maxNumLink = maxNumLink,
      _maxNumAttributesPerEvent = maxNumAttributesPerEvent,
      _maxNumAttributesPerLink = maxNumAttributesPerLink,
      _maxNumAttributeLength = maxNumAttributeLength;