AppRoute resolvedRouteOf(AppRoute route) { if(route is HomeRoute) { return _homeRedirect?.call() ?? route; } return route; }