maxNumAttributes property

int get maxNumAttributes

getters return the max number of attributes per span

Implementation

int get maxNumAttributes => _maxNumAttributes;
set maxNumAttributes (int maxNumberOfAttributes)

setters Set the max number of attributes per span

Implementation

set maxNumAttributes(int maxNumberOfAttributes) {
  if (maxNumberOfAttributes < 0) {
    throw ArgumentError('maxNumEvents must be greater or equal to zero');
  }
}