OAuthTokenRequest class abstract

Annotations
  • @freezed

Constructors

OAuthTokenRequest.new({required String client_id, required String client_secret, String? grant_type, String? redirect_uri, String? code, String? mode, String? refresh_token, String? token_type_hint, String? token})
const
factory
OAuthTokenRequest.fromJson(Map<String, dynamic> json)
factory

Properties

client_id String
no setterinherited
client_secret String
no setterinherited
code String?
no setterinherited
copyWith → $OAuthTokenRequestCopyWith<OAuthTokenRequest>
Create a copy of OAuthTokenRequest with the given fields replaced by the non-null parameter values.
no setterinherited
grant_type String?
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
mode String?
no setterinherited
redirect_uri String?
no setterinherited
refresh_token String?
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
token String?
no setterinherited
token_type_hint String?
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Serializes this OAuthTokenRequest to a JSON map.
inherited
toString() String
A string representation of this object.
inherited

Operators

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