TwitchChannelInformationImpl class

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

Inheritance

Constructors

TwitchChannelInformationImpl({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

getChannelInformation({required String broadcasterId}) Future<HttpResult<OpenApiChannelInformationResponse>>
Docs: https://dev.twitch.tv/docs/api/reference#get-channel-information
override
getChannelStreamSchedule({required String broadcasterId}) Future<HttpResult<OpenApiChannelStreamScheduleResponse>>
Docs: https://dev.twitch.tv/docs/api/reference#get-channel-stream-schedule
override
getChannelTeams({required String broadcasterId}) Future<HttpResult<BaseHttpResponse>>
Docs: https://dev.twitch.tv/docs/api/reference#get-channel-teams
override
getUsersFollow({String? fromId, int? first, String? after, String? toId}) Future<HttpResult<OpenApiChannelUserFollowResponse>>
Docs: https://dev.twitch.tv/docs/api/reference#get-users-follows
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