newNavigator method
Constructs new Navigator object.
This method enables developers to override the default Navigator implementation.
Implementation
Navigator newNavigator({
required Window window,
}) {
return impl.newNavigator(
window: window,
);
}