directionsDistanceUnits property

UnitSystem directionsDistanceUnits

Directions distance text units.

A directions distance text units. Describes the unit of measurement for the length of directions.

Implementation

UnitSystem get directionsDistanceUnits {
  final coreValue = _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_RouteParameters_getDirectionsDistanceUnits(
        _handle, errorHandler);
  });
  return UnitSystem._fromCoreValue(coreValue);
}
void directionsDistanceUnits=(UnitSystem value)

Implementation

set directionsDistanceUnits(UnitSystem value) {
  _withThrowingErrorHandler((errorHandler) {
    runtimecore.RT_RouteParameters_setDirectionsDistanceUnits(
        _handle, value.coreValue, errorHandler);
  });
}