of static method
Implementation
static VoAuthContext of(BuildContext context) {
final scope = context.dependOnInheritedWidgetOfExactType<VoAuthScope>();
assert(
scope != null,
'\n\nVoAuthScope not found in widget tree of ${context.widget.runtimeType}.\n'
'Ensure VoAuthScope is a parent of the widget that needs to access the auth context.\n'
'Example: VoAuthScreen(pages: VoAuthPages.phone(phoneBuilder: (_) => const PhoneSignInPage()))\n',
);
return scope!.notifier!;
}