maxSpans property

int maxSpans

Returns the maximum number of spans that can be attached to single transaction.

The is an experimental feature. Use at your own risk.

Implementation

int get maxSpans => _maxSpans;
void maxSpans=(int maxSpans)

Sets the maximum number of spans that can be attached to single transaction.

The is an experimental feature. Use at your own risk.

Implementation

set maxSpans(int maxSpans) {
  assert(maxSpans > 0);
  _maxSpans = maxSpans;
}