authorizerOf<T extends Auth<AuthKeys> > static method
Implementation
static Authorizer<T> authorizerOf<T extends Auth>(BuildContext context) {
try {
return of<T>(context).authorizer;
} catch (_) {
throw AuthProviderException(
"You should call like authorizerOf${AuthProvider.type}();",
);
}
}