asClient method Null safety
As an AuthClient.
Implementation
AuthClient asClient() {
final scopes = allowedScope?.split(" ").map((s) => AuthScope(s)).toList();
return AuthClient.withRedirectURI(
id,
hashedSecret,
salt,
redirectURI,
allowedScopes: scopes,
);
}