of<T extends Auth<AuthKeys> > static method
Implementation
static AuthProvider<T> of<T extends Auth>(BuildContext context) {
final x = context.dependOnInheritedWidgetOfExactType<AuthProvider<T>>();
if (x != null) {
return x;
} else {
throw AuthProviderException(
"You should call like of<${AuthProvider.type}>();",
);
}
}