maybeOf static method
Returns current AuthState of the auth flow. Could return null if no AuthFlowBuilder was found up the widget tree.
See AuthFlowBuilder for more examples.
Implementation
static AuthState? maybeOf(BuildContext context) =>
context.dependOnInheritedWidgetOfExactType<AuthStateProvider>()?.state;