maybeOf static method

GuardoStateNotifier? maybeOf(
  1. BuildContext context
)

Implementation

static GuardoStateNotifier? maybeOf(BuildContext context) {
  return context
      .dependOnInheritedWidgetOfExactType<GuardoInherited>()
      ?.stateNotifier;
}