clone method

PolylineBarrier clone()

Clones the PolylineBarrier.

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

Implementation

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