RouterConfig constructor

RouterConfig({
  1. OnInvalidUrl? onInvalidUrl,
  2. OnLoadedRoutes? onLoadedRoutes,
})

Implementation

RouterConfig({
  OnInvalidUrl? onInvalidUrl,
  OnLoadedRoutes? onLoadedRoutes,
})  : onInvalidUrl = onInvalidUrl ?? DefaultOnInvalidUrl.ignore(),
      onLoadedRoutes = onLoadedRoutes ?? DefaultOnLoadedRoutes.ignore();