toDirectionsRoutes

fun List<NavigationRoute>.toDirectionsRoutes(): List<DirectionsRoute>

Returns all NavigationRoute.directionsRoutes.

This is a lossy mapping since the DirectionsRoute cannot carry the same amount of information as NavigationRoute.