combine method

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

Implementation

@override
RouteInfo combine(RouteInfo other) {
  if (other.isRoot) return this;
  return MenuDynamicRouteInfo(
    path: "${other.path}$path",
    when: when,
    page: page,
    title: title,
    icon: icon,
    imagePath: imagePath,
    children: children,
  );
}