maybeOf static method

HubScope? maybeOf(
  1. BuildContext context
)

Implementation

static HubScope? maybeOf(BuildContext context) {
  return context
      .dependOnInheritedWidgetOfExactType<HubScopeProvider>()
      ?.scope;
}