onNavigationDestinationReached method
Sets a callback that will be notified when the destination is reached. This will happen when the user is close to the destination by less than the distanceToGoalThreshold of NavigationRequest.
See requestNavigation.
Implementation
Future<void> onNavigationDestinationReached(
OnNavigationDestinationReachedCallback callback) async {
_onNavigationDestReachedCallback = callback;
}