of<G extends Object> static method

AuthenticationProvider<G>? of<G extends Object>(
  1. BuildContext context
)

Implementation

static AuthenticationProvider<G>? of<G extends Object>(BuildContext context) {
  return context.dependOnInheritedWidgetOfExactType<AuthenticationProvider<G>>();
}