uTurnPolicy property

UTurnPolicy uTurnPolicy

Uturn policy.

Indicates where the travel mode is allowed to make U-turns. Returns the enumeration value for the u-turn policy e.g. no u-turns, u-turns at stops, etc.

Implementation

UTurnPolicy get uTurnPolicy {
  final coreValue = _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_TravelMode_getUTurnPolicy(
      _handle,
      errorHandler,
    );
  });
  return UTurnPolicy._fromCoreValue(
    coreValue,
  );
}
void uTurnPolicy=(UTurnPolicy value)

Implementation

set uTurnPolicy(UTurnPolicy value) {
  _withThrowingErrorHandler((errorHandler) {
    runtimecore.RT_TravelMode_setUTurnPolicy(
      _handle,
      value.coreValue,
      errorHandler,
    );
  });
}