clone method
Clones the PolygonBarrier.
Return Value: A new PolygonBarrier with the same values as the current PolygonBarrier.
Implementation
PolygonBarrier clone() {
final objectHandle = _withThrowingErrorHandler((errorHandler) {
return runtimecore.RT_PolygonBarrier_clone(
_handle,
errorHandler,
);
});
return PolygonBarrier._fromHandle(
objectHandle,
)!;
}