clone method

Facility clone()

Clones the Facility.

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

Implementation

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