maxNumAttributeLength property

int get maxNumAttributeLength

return the maximum allowed attribute value length. This limits only applies to string and string list attribute valuse. Any string longer than this value will be truncated to this length.

default is unlimited.

Implementation

int get maxNumAttributeLength => _maxNumAttributeLength;
set maxNumAttributeLength (int maxNumAttributeLength)

return the maximum allowed attribute value length. This limits only applies to string and string list attribute valuse. Any string longer than this value will be truncated to this length.

default is unlimited.

Implementation

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