restorablePopAndPushNamed function

String restorablePopAndPushNamed(
  1. BuildContext context,
  2. String routeName
)

Implementation

String restorablePopAndPushNamed(BuildContext context, String routeName) {
  if (!isNavMounted(context)) {
    throw "Navigator is unmounted";
  }
  return Navigator.restorablePopAndPushNamed(context, routeName);
}