of static method

Implementation

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