clone method

UniqueValue clone()

Clones the UniqueValue.

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

Implementation

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