TwitchGameImpl class

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

Inheritance

Constructors

TwitchGameImpl({String? token, 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

getName({required String name}) Future<HttpResult<OpenApiGetGameResponse>>
Docs: https://dev.twitch.tv/docs/api/reference#get-games
override
getTopGame() Future<HttpResult<OpenApiGetGameResponse>>
Docs: https://dev.twitch.tv/docs/api/reference#get-top-games
override
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