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