notifyAll method

void notifyAll({
  1. bool forceUrlRebuild = false,
})

Notify this controller for changes then notify root controller if they're not the same

if needed rebuild the url

Implementation

void notifyAll({bool forceUrlRebuild = false}) {
  notifyListeners();
  if (forceUrlRebuild || !isRouteDataActive(current)) {
    navigationHistory.rebuildUrl();
  } else if (!isRoot) {
    root.notifyListeners();
  }
}