skip method Null safety

void skip ()

Skip one

Implementation

void skip() {
  if (ended) {
    throw error('Input ended');
  }
  _position += 1;
  _checkEnded();
}