of static method

NomoNavigator of(
  1. BuildContext context
)

Implementation

static NomoNavigator of(BuildContext context) {
  final NomoNavigator? result =
      context.dependOnInheritedWidgetOfExactType<NomoNavigator>();
  assert(result != null, 'No RouteInfoProvider found in context');
  return result!;
}