travelDirection property
The travel direction for the service area computation (to or from facility).
Default value TravelDirection.fromFacility will be returned on error.
Implementation
TravelDirection get travelDirection {
final coreValue = _withThrowingErrorHandler((errorHandler) {
return runtimecore.RT_ServiceAreaParameters_getTravelDirection(
_handle,
errorHandler,
);
});
return TravelDirection._fromCoreValue(
coreValue,
);
}
Implementation
set travelDirection(TravelDirection value) {
_withThrowingErrorHandler((errorHandler) {
runtimecore.RT_ServiceAreaParameters_setTravelDirection(
_handle,
value.coreValue,
errorHandler,
);
});
}