maybeOf static method

InspectorState? maybeOf(
  1. BuildContext? context
)

Implementation

static InspectorState? maybeOf(BuildContext? context) {
  return context?.findAncestorStateOfType<InspectorState>();
}