setStack method

void setStack(
  1. RouteNode<RouteValue> value, {
  2. bool notify = true,
})

Implementation

void setStack(RouteNode value, {bool notify = true}) {
  _stack = _redirect(value);
  if (notify) {
    notifyListeners();
  }
}