clone method

SyncLayerOption clone()

Clones the SyncLayerOption.

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

Implementation

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