Replace this path with this withPath
path
withPath
Future<void> replace(String path, String withPath) => navigator.replace(path, withPath);