Lists class

Inheritance

Constructors

Lists(TraktManager manager)

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getList(int id) Future<TraktList>
Returns a single list. Use the /lists/:id/items method to get the actual items this list contains.
getListComments(int id, {ListCommentsSortBy sort = ListCommentsSortBy.newest, RequestPagination? pagination}) Future<List<Comment>>
Returns all top level comments for a list.
getListItems(int id, {ListType? listType, RequestPagination? pagination, bool extendedFull = false}) Future<List<ListItem>>
Get all items on a custom list.
getListLikes(int id, {RequestPagination? pagination}) Future<List<ListLikes>>
Returns all users who liked a list.
getPopularLists({RequestPagination? pagination}) Future<List<TrendingPopularList>>
Returns the most popular lists. Popularity is calculated using total number of likes and comments.
getTrendingLists({RequestPagination? pagination}) Future<List<TrendingPopularList>>
Returns all lists with the most likes and comments over the last 7 days.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited