themoviedbTrending method

Future<List<TheMovieModel>> themoviedbTrending(
  1. dynamic mediaType,
  2. dynamic timeWindow,
  3. dynamic params
)

Implementation

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