routeToPage method

dynamic routeToPage()

Redirect to a new route.

Implementation

routeToPage() async {
  await routeTo(path,
      data: data,
      queryParameters: queryParameters,
      navigationType: navigationType,
      result: result,
      removeUntilPredicate: removeUntilPredicate,
      pageTransitionSettings: pageTransitionSettings,
      pageTransitionType: pageTransitionType,
      onPop: onPop);
}