of static method

Implementation

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