notifyDidReplace method

void notifyDidReplace(
  1. String routeName,
  2. String? preRouteName
)

Implementation

void notifyDidReplace(String routeName, String? preRouteName) {
  for (var observer in _observers) {
    observer.didReplace(routeName: routeName, preRouteName: preRouteName);
  }
}