preferences property
RoutePreferences
get
preferences
Preferences used when the route was calculated.
Modifying the returned RoutePreferences instance will have no effect on the existing route. Use the RoutingService.calculateRoute method with modified preferences to compute a new route.
Returns
- A RoutePreferences instance containing the preferences applied to this route calculation.
Implementation
RoutePreferences get preferences {
final OperationResult resultString = objectMethod(
pointerId,
'RouteBase',
'getPreferences',
);
return RoutePreferences.fromJson(resultString['result']);
}