SearchListResponse class
Returns a collection of search results that match the query parameters specified in the API request. By default, a search result set identifies matching video, channel, and playlist resources, but you can also configure queries to only retrieve a specific type of resource.
- Annotations
-
- @JsonSerializable()
Constructors
-
SearchListResponse({required String kind, required String etag, String? nextPageToken, String? prevPageToken, String? regionCode, required PageInfo? pageInfo, List<
SearchResult> ? searchItems}) -
SearchListResponse.fromJson(Map<
String, dynamic> json) -
factory
Properties
- etag → String
-
The Etag of this resource.
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
-
items
→ List<
SearchResult> -
no setter
- kind → String
-
Identifies the API resource's type. The value will be youtube#searchListResponse.
finalinherited
- nextPageToken → String?
-
The token that can be used as the value of the pageToken parameter to retrieve the next page in the result set.
finalinherited
- pageInfo → PageInfo?
-
The pageInfo object encapsulates paging information for the result set.
finalinherited
- prevPageToken → String?
-
The token that can be used as the value of the pageToken parameter to retrieve the previous page in the result set.
finalinherited
- regionCode → String?
-
The region code that was used for the search query. The property value is a two-letter ISO country code that identifies the region. The i18nRegions.list method returns a list of supported regions. The default value is US. If a non-supported region is specified, YouTube might still select another region, rather than the default value, to handle the query.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
searchItems
→ List<
SearchResult> ? -
A list of results that match the search criteria.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited