type property

BarrierType type

Polygon barrier's type.

Implementation

BarrierType get type {
  final coreValue = _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_PolygonBarrier_getType(
      _handle,
      errorHandler,
    );
  });
  return BarrierType._fromCoreValue(
    coreValue,
  );
}
void type=(BarrierType value)

Implementation

set type(BarrierType value) {
  _withThrowingErrorHandler((errorHandler) {
    runtimecore.RT_PolygonBarrier_setType(
      _handle,
      value.coreValue,
      errorHandler,
    );
  });
}