homeRoute property

AppRoute homeRoute

Implementation

AppRoute get homeRoute {
  final route = _getDefinition(_homePath)?.parse({});
  assert(route != null, 'home is not set correctly (home == \'$_homePath\', but no route is defined at that location)');
  route!._parent = _parent?.state.route;
  route._isHome = true;
  return route;
}