GetTokenResults.fromJson constructor

GetTokenResults.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory GetTokenResults.fromJson(Map<String, dynamic> json) =>
    GetTokenResults(
      accessToken: json["access_token"],
      expiresIn: json["expires_in"],
      refreshToken: json["refresh_token"],
      scope: json["scope"],
      tokenType: json["token_type"],
      user: User.fromJson(json["user"]),
    );