docs: static DirectionsRoute extractRoute(Context context) {
      SharedPreferences preferences = PreferenceManager.getDefaultSharedPreferences(context);
      String directionsRouteJson = preferences.getString(NavigationConstants.NAVIGATION_VIEW_ROUTE_KEY, "");
      return DirectionsRoute.fromJson(directionsRouteJson);
    }