combine method

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

Implementation

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