Search class
Searches can use queries or ID lookups. Queries will search text fields like the title and overview. ID lookups are helpful if you have an external ID and want to get the Trakt ID and info. These methods can search for movies, shows, episodes, people, and lists.
Constructors
- Search(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
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
searchIds(
SearchIdType idType, String id, {List< SearchType> ? searchTypes, bool extendedFull = false, RequestPagination? pagination}) → Future<List< SearchResult> > - Lookup items by their Trakt, IMDB, TMDB, or TVDB ID.
-
searchTextQuery(
String query, List< SearchType> searchTypes, {bool extendedFull = false, RequestPagination? pagination, Filters? filters, List<SearchField> ? searchFields}) → Future<List< SearchResult> > - Search all text fields that a media object contains (i.e. title, overview, etc).
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited