clone method

Incident clone()

Clones the Incident.

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

Implementation

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