directionsDistanceUnits property
Directions distance units.
Describes the unit of measurement for the length of directions. Default value UnitSystem.metric will be returned on error.
Implementation
UnitSystem get directionsDistanceUnits {
final coreValue = _withThrowingErrorHandler((errorHandler) {
return runtimecore
.RT_ClosestFacilityParameters_getDirectionsDistanceUnits(
_handle,
errorHandler,
);
});
return UnitSystem._fromCoreValue(
coreValue,
);
}
Implementation
set directionsDistanceUnits(UnitSystem value) {
_withThrowingErrorHandler((errorHandler) {
runtimecore.RT_ClosestFacilityParameters_setDirectionsDistanceUnits(
_handle,
value.coreValue,
errorHandler,
);
});
}