TwitchToken class

Annotations
  • @freezed

Constructors

TwitchToken({required String token, required String scope, required String tokenType, String? clientId, String? login, List<String>? scopes, String? userId, @Default(0) int expiresIn})
const
factory
TwitchToken.fromUrl(String url)
factory
TwitchToken.fromValidation(TwitchToken incompleteToken, Map<String, dynamic> json)
factory

Properties

clientId String?
no setterinherited
copyWith → $TwitchTokenCopyWith<TwitchToken>
no setterinherited
expiresIn int
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
isValid bool
no setter
login String?
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scope String
no setterinherited
scopes List<String>?
no setterinherited
token String
no setterinherited
tokenType String
no setterinherited
userId String?
no setterinherited

Methods

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

Constants

clientIdEntry → const String
expiresInEntry → const String
loginEntry → const String
scopesEntry → const String
userIdEntry → const String