getShowLastEpisode method

Future<Episode> getShowLastEpisode(
  1. String id, {
  2. bool extendedFull = false,
})

Returns the most recently aired episode.

If no episode is found, a 204 HTTP status code will be returned.

id - Trakt ID, Trakt slug, or IMDB ID

✨ Extended Info

Implementation

Future<Episode> getShowLastEpisode(String id,
    {bool extendedFull = false}) async {
  return await _manager._get<Episode>("shows/$id/last_episode",
      extendedFull: extendedFull);
}