clone method

WmsSublayer clone()

Clones the WmsSublayer.

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

Implementation

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