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