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