QueryCollectionItems<C extends GpsPointsView<GpsPoint> > constructor
Constructor for the query, with arguments indicating how much of the collection should be returned.
startIndex
indicates, if provided, the first item that should be copied
by the query. If not provided, it defaults to 0.
nrItems
indicates, if provided, how many items should be copied by the
query. If not provided (or null), the copying will copy till the end of
the collection (equivalent to providing (length-startIndex)).
Implementation
QueryCollectionItems({int startIndex = 0, int? nrItems})
: _startIndex = startIndex,
_nrItems = nrItems;