TwitchSearchImpl class

Implementation of the class TwitchSearch. To make it works, it's needed the token for the authenticated resources and the clientId

Inheritance

Constructors

TwitchSearchImpl({required String? token, required String? clientId})

Properties

client → TwitchHttpClient
Used by the package for making HTTP requests
no setterinherited
clientId String?
Unique id for each application
finalinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
token String?
Update the token
finalgetter/setter pairinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
searchCategories({required String query, int? first, String? after}) Future<HttpResult<OpenApiSearchCategoriesResponse>>
Docs: https://dev.twitch.tv/docs/api/reference#search-categories
override
searchChannels({required String query, int? first, String? after, bool? isLive}) Future<HttpResult<OpenApiSearchChannelsResponse>>
Docs: https://dev.twitch.tv/docs/api/reference#search-channels
override
searchStreams({String? after, String? before, int? first, String? gameId, String? language, String? userId, String? userLogin}) Future<HttpResult<OpenApiGetStreamsResponse>>
Docs: https://dev.twitch.tv/docs/api/reference#get-streams
override
searchUser({int? id, String? login}) Future<HttpResult<OpenApiSearchUsersResponse>>
Docs: https://dev.twitch.tv/docs/api/reference#get-users
override
toString() String
A string representation of this object.
inherited

Operators

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