OAuthTokenResponse class abstract
- Annotations
-
- @freezed
Constructors
- OAuthTokenResponse.new({required String public_token, required String token_type, required int expires_in, required String access_token, required String refresh_token, required String razorpay_account_id})
-
constfactory
-
OAuthTokenResponse.fromJson(Map<
String, dynamic> json) -
factory
Properties
- access_token → String
-
no setterinherited
-
copyWith
→ $OAuthTokenResponseCopyWith<
OAuthTokenResponse> -
Create a copy of OAuthTokenResponse
with the given fields replaced by the non-null parameter values.
no setterinherited
- expires_in → int
-
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- public_token → String
-
no setterinherited
- razorpay_account_id → String
-
no setterinherited
- refresh_token → String
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- token_type → String
-
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Serializes this OAuthTokenResponse to a JSON map.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited