nextQuery method
Returns the next page of rows.
Implementation
@protected
QueryRows nextQuery(QueryDirection direction) {
QueryRows rows = current;
QueryRowPosition? start = rows.isEmpty
? null
: (direction == QueryDirection.forward
? queryRowGetPosition(rows.last)
: queryRowGetPosition(rows.first));
return query(direction, start);
}