of static method

NeuronRouteState? of(
  1. BuildContext context
)

Implementation

static NeuronRouteState? of(BuildContext context) {
  return context
      .dependOnInheritedWidgetOfExactType<NeuronRouteScope>()
      ?.state;
}