newRoute static method

bool newRoute(
  1. String? path
)

Supply the new route

Implementation

static bool newRoute(String? path) {
  //
  final next = _this!._findPage(path);

  if (next) {
    nextPath(path);
  }
  return next;
}