position property

int position

The index of the next element to be read or written.

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

Implementation

int get position {
  return _positionId(this, const jintType(), []);
}
void position=(int position)

Throws:

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

Implementation

set position(int position) {
  _setPositionId(this, const JObjectType(), [JValueInt(position)]).release();
}