navigateTo abstract method

void navigateTo(
  1. AppRoute route
)

Navigate to the given app route.

The router should rebuild its pages to display the given app route as well as any necessary pages underneath it.

Implementation

void navigateTo(AppRoute route);