getNowPlayingMoviesWithCacheInfo method

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

Get now playing movies with cache information.

Implementation

Future<CacheResult<List<Movie>>> getNowPlayingMoviesWithCacheInfo() async {
  return _getMoviesWithCache(
    CacheCategory.nowPlaying,
    () => _movieService.getNowPlayingMovies(),
  );
}