clone method

PointBarrier clone()

Clones the PointBarrier.

Return Value: A new PointBarrier with the same values as the current PointBarrier.

Implementation

PointBarrier clone() {
  final objectHandle = _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_PointBarrier_clone(
      _handle,
      errorHandler,
    );
  });
  return PointBarrier._fromHandle(
    objectHandle,
  )!;
}