VisualNavigator.withNavigator constructor
Creates a new instance of this class using provided instance of NavigatorInterface as source of data.
Note: The VisualNavigator implements the NavigatorInterface interface and forwards all calls to the underlying NavigatorInterface instance. When multiple VisualNavigator instances share the same NavigatorInterface instance, method calls on this common instance will overwrite changes made by another, which may lead to unexpected behavior.
Note: This is a beta release of this feature and may contain bugs or exhibit unexpected behaviour. Related APIs are subject to change without a deprecation process.
navigatorA NavigatorInterface implementation instance.
Throws InstantiationException. InstantiationException when operation fails.
Implementation
factory VisualNavigator.withNavigator(NavigatorInterface navigator) => $prototype.withNavigator(navigator);