clone method

ArcGISSublayer clone()

Clones the ArcGISSublayer.

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

Implementation

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