navigateToPoi method
void
navigateToPoi(
Starts navigating to the given POI. You can optionally choose the desired AccessibilityMode used to calculate the route.
Implementation
void navigateToPoi(
String identifier, {
AccessibilityMode? accessibilityMode,
}) async {
dynamic message = {"navigationTo": identifier};
if (accessibilityMode != null) {
message["type"] = "'${accessibilityMode.name}'";
}
_sendMessage(WV_MESSAGE_NAVIGATION_START, message);
}