getCurrentPage method
Retrieves the sequence for the current page.
You have to call next() before you can access the first page.
Implementation
MessageSequence getCurrentPage() {
assert(_currentPage > 0,
'You have to call next() before you can access the first page.');
return sequence.subsequenceFromPage(
_currentPage,
pageSize,
skip: _addedIds,
);
}