getPopularMovies method
Get popular movies with caching.
Implementation
Future<List<Movie>> getPopularMovies() async {
final result = await _getMoviesWithCache(
CacheCategory.popular,
() => _movieService.getPopularMovies(),
);
return result.data;
}