of static method

If there is no HelperOrchestrator in scope

See also:

Implementation

static HelperOrchestratorState of(BuildContext context) {
  assert(debugCheckHasScaffoldMessenger(context));

  final _HelperOrchestratorScope scope =
      context.dependOnInheritedWidgetOfExactType<_HelperOrchestratorScope>()!;
  return scope._helperOrchestratorState;
}