maybeOf static method

AuthState? maybeOf(
  1. BuildContext context
)

Implementation

static AuthState? maybeOf(BuildContext context) =>
    context.dependOnInheritedWidgetOfExactType<AuthStateProvider>()?.state;