getNavShellNotifier method

UiNavShellNotifier getNavShellNotifier(
  1. String shellPath
)

Implementation

UiNavShellNotifier getNavShellNotifier(String shellPath) {
  final foundIndex = navShellNotifiers.indexWhere(
    (it) => it.updater.config.fullPath == shellPath,
  );
  if (foundIndex < 0) {
    throw Exception('Notifier not found for shellPath=$shellPath');
  }
  return navShellNotifiers[foundIndex];
}