themoviedbTrending method
Future<List<TheMovieModel> >
themoviedbTrending(
- dynamic mediaType,
- dynamic timeWindow,
- dynamic params
Implementation
Future<List<TheMovieModel>> themoviedbTrending(
mediaType, timeWindow, params) async {
NetworkResponse response =
await _api.themoviedbTrending(mediaType, timeWindow, params);
return response.data ?? [];
}