move method

  1. @protected
bool move(
  1. QueryDirection direction
)

Advances the iterator in the specified direction.

Implementation

@protected
bool move(QueryDirection direction) {
  if (_cannotMove == direction) ////
    return false;
  _current = _current == null
      ? query(direction, iterable.start)
      : nextQuery(direction);
  _cannotMove = current.isEmpty ? direction : null;
  return _cannotMove != direction;
}