of static method

Implementation

static StackRouterInheritedData? of(BuildContext context) {
  return context
      .dependOnInheritedWidgetOfExactType<StackRouterInheritedData>();
}