call method

PageRouteInfo<Object?> call({
  1. List<PageRouteInfo<Object?>>? children,
})

Creates a new instance with of PageRouteInfo

Implementation

PageRouteInfo call({List<PageRouteInfo>? children}) {
  return PageRouteInfo(name, initialChildren: children);
}