fetchLatestTotalPages method

Future<int> fetchLatestTotalPages()

Implementation

Future<int> fetchLatestTotalPages() {
  return AudioBookBayApi()
      .find(const SearchRequest(query: ''))
      .then((response) {
    return response.total;
  });
}