Page constructor

Page(
  1. Route route,
  2. Element element
)

Implementation

factory Page(Route route, Element element) {
  return Page._(
    pageInfo: PageInfo.fromElement(element, route),
    route: route,
    element: element,
  );
}