getShowLists method
Future<List<TraktList> >
getShowLists(
- String id, {
- ListType type = ListType.personal,
- ListSort sortBy = ListSort.popular,
- RequestPagination? pagination,
Returns all lists that contain this show.
By default, personal lists are returned sorted by the most popular.
id
- Trakt ID, Trakt slug, or IMDB ID
type
- Filter for a specific list type
sortBy
- how to sort.
📄 Pagination 😁 Emojis
Implementation
Future<List<TraktList>> getShowLists(String id,
{ListType type = ListType.personal,
ListSort sortBy = ListSort.popular,
RequestPagination? pagination}) async {
return await _manager._getList<TraktList>(
"shows/$id/lists/${type.value}/${sortBy.value}",
pagination: pagination);
}