travelDirection property

TravelDirection travelDirection

Travel direction.

Default value TravelDirection.fromFacility will be returned on error.

Implementation

TravelDirection get travelDirection {
  final coreValue = _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_ClosestFacilityTaskInfo_getTravelDirection(
      _handle,
      errorHandler,
    );
  });
  return TravelDirection._fromCoreValue(
    coreValue,
  );
}