fromJson static method

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

Implementation

static AuthValidateResponse fromJson(Map<String, dynamic> json) {
  return AuthValidateResponse(
    status: json['status'],
    message: json['message'],
    clientId: json['client_id'],
    login: json['login'],
    scopes: _convertScopeList(json),
    userId: json['user_id'],
    expiresIn: json['expires_in'],
  );
}