The Navigator replaced oldRoute with newRoute.
oldRoute
newRoute
@override void didReplace({Route? newRoute, Route? oldRoute}) { _log(NavigationLogRecord.didReplace(newRoute, oldRoute)); }