getNextPage<T> method

Future<HeliumPagedResponse<T>> getNextPage<T>(
  1. HeliumPagedResponse<T> response
)

Gets the page of results following the given page.

Check hasNextPage on the response object before calling this method.

Implementation

Future<HeliumPagedResponse<T>> getNextPage<T>(
    final HeliumPagedResponse<T> response) async {
  return _doPagedRequest(response._getNextPageRequest());
}