type property

BarrierType type

Point barrier's type.

The type of point barrier.

Implementation

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

Implementation

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