getPopularMoviesWithCacheInfo method

Future<CacheResult<List<Movie>>> getPopularMoviesWithCacheInfo()

Get popular movies with cache information.

Implementation

Future<CacheResult<List<Movie>>> getPopularMoviesWithCacheInfo() async {
  return _getMoviesWithCache(
    CacheCategory.popular,
    () => _movieService.getPopularMovies(),
  );
}