limit property

int limit

The index of the first element that should not be read or written.

It is never negative and is never greater than its capacity.

Implementation

int get limit {
  return _limitId(this, const jintType(), []);
}
void limit=(int newLimit)

Throws:

  • IllegalArgumentException - If the preconditions on newLimit do not hold.

Implementation

set limit(int newLimit) {
  _setLimitId(this, const JObjectType(), [JValueInt(newLimit)]).release();
}