AuthorizationCodeResponse class
Access token response data model. This is the only request necessary for the Authorization Code flow
- Annotations
-
- @immutable
Constructors
-
AuthorizationCodeResponse({required String accessToken, required String tokenType, required int expiresIn, required List<
BattleNetScope> scope, required String sub, required String idToken}) -
const
-
AuthorizationCodeResponse.fromJson(Map<
String, dynamic> json) -
factory
- AuthorizationCodeResponse.fromRawJson(String str)
-
factory
Properties
- accessToken → String
-
final
- expiresIn → int
-
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- idToken → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
scope
→ List<
BattleNetScope> -
final
- sub → String
-
final
- tokenType → String
-
final
Methods
-
copyWith(
{String? accessToken, String? tokenType, int? expiresIn, List< BattleNetScope> ? scope, String? sub, String? idToken}) → AuthorizationCodeResponse -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toRawJson(
) → String -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override