SearchQuery class
Constructors
- SearchQuery(YoutubeHttpClient _httpClient, String searchQuery, SearchPage _page)
- Initializes a SearchQuery
Properties
-
content
→ List<
SearchResult> -
Content of this search.
Contains either SearchVideo, SearchPlaylist or SearchChannel
no setter
- estimatedResults → int
-
Returns the estimated search result count.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
-
Videos related to this search.
Contains either SearchVideo or SearchPlaylist
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- searchQuery → String
-
Search query
final
Methods
-
nextPage(
) → Future< SearchQuery?> - Get the data of the next page. Returns null if there is no next page.
-
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
Static Methods
-
search(
YoutubeHttpClient httpClient, String searchQuery, {SearchFilter filter = const SearchFilter('')}) → Future< SearchQuery> - Search a video.