loadNextPage method
Loads the next page in infinite paging mode.
Use nextPage when the caller does not care whether the dataset uses standard or infinite paging. Use loadNextPage for infinite-specific UI code.
Implementation
Future<void> loadNextPage() {
if (!isInfinite) {
throw StateError(
'FdcDataSet.paging.loadNextPage() requires infinite paging mode.',
);
}
return _dataSet._pagingCoordinator.nextPage();
}