waitForData method

Future<PaginationState<ReturnType>> waitForData()

Returns a future that completes when the page of data is available.

Implementation

Future<PaginationState<ReturnType>> waitForData() async =>
    _internalStateToState(await _waitForInternalState());