clone method

ClosestFacilityParameters clone()

Clones the ClosestFacilityParameters.

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

Implementation

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