travelDirection property

TravelDirection travelDirection

The travel direction for the closest facility 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_ClosestFacilityParameters_getTravelDirection(
        _handle, errorHandler);
  });
  return TravelDirection._fromCoreValue(coreValue);
}
void travelDirection=(TravelDirection value)

Implementation

set travelDirection(TravelDirection value) {
  _withThrowingErrorHandler((errorHandler) {
    runtimecore.RT_ClosestFacilityParameters_setTravelDirection(
        _handle, value.coreValue, errorHandler);
  });
}