fromJson static method

OAuth fromJson(
  1. int? statusCode,
  2. dynamic json
)

Implementation

static OAuth fromJson(int? statusCode, dynamic json) {
  return OAuth(
      statusCode: statusCode,
      accessToken: json['access_token'],
      expiresIn: json['expires_in'],
      jti: json['jti'],
      refreshToken: json['refresh_token'],
      scope: json['scope'],
      tokenType: json['token_type']);
}