of static method

Implementation

static HyperController of(BuildContext context) {
  return context
      .dependOnInheritedWidgetOfExactType<InheritedHyperTree>()!
      .router
      .rootController;
}