clone method

GenerateLayerOption clone()

Clones the GenerateLayerOption.

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

Implementation

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