combine method

  1. @override
RouteInfo combine(
  1. RouteInfo other
)
override

Implementation

@override
RouteInfo combine(RouteInfo other) {
  if (other.isRoot) return this;
  return ModalRouteInfo(
    path: "${other.path}$path",
    page: page,
    children: children,
    useRootNavigator: useRootNavigator,
  );
}